language-java-0.2.8: Java source manipulation

Safe HaskellNone
LanguageHaskell98

Language.Java.Lenses.Syntax

Documentation

infoPackDec :: forall l l. Lens (PackageDecl l) (PackageDecl l) l l Source #

infoImportDecl :: forall l l. Lens (ImportDecl l) (ImportDecl l) l l Source #

infoClassDecl :: forall l. Lens' (ClassDecl l) l Source #

extends :: forall l. Lens' (ClassDecl l) (Maybe (Extends l)) Source #

classBody :: forall l. Lens' (ClassDecl l) (ClassBody l) Source #

infoEnumDecl :: forall l. Lens' (EnumDecl l) l Source #

enumBody :: forall l. Lens' (EnumDecl l) (EnumBody l) Source #

infoExtends :: forall l l. Lens (Extends l) (Extends l) l l Source #

infoImplements :: forall l l. Lens (Implements l) (Implements l) l l Source #

infoClassBody :: forall l. Lens' (ClassBody l) l Source #

classDecls :: forall l. Lens' (ClassBody l) [DeclNode l] Source #

infoEnumBody :: forall l. Lens' (EnumBody l) l Source #

enumDecls :: forall l. Lens' (EnumBody l) [DeclNode l] Source #

statements :: forall l. Lens' (InitDecl l) (Block l) Source #

infoInitDecl :: forall l. Lens' (InitDecl l) l Source #

infoFieldDecl :: forall l. Lens' (FieldDecl l) l Source #

params :: forall l. Lens' (MethodDecl l) [FormalParam l] Source #

varInit :: forall l. Lens' (VarDecl l) (Maybe (VarInitNode l)) Source #

infoVarDecl :: forall l. Lens' (VarDecl l) l Source #

varIdName :: forall l. Lens' (VarId l) Ident Source #

infoVarId :: forall l l. Lens (VarId l) (VarId l) l l Source #

impl :: forall l. Lens' (MethodBody l) (Maybe (Block l)) Source #

annName :: forall l. Lens' (Annotation l) Name Source #

infoBlock :: forall l. Lens' (Block l) l Source #

infoLocalVars :: forall l. Lens' (LocalVars l) l Source #

thenExp :: forall l. Lens' (IfThenElse l) (StmtNode l) Source #

ifExp :: forall l. Lens' (IfThenElse l) (ExpNode l) Source #

elseExp :: forall l. Lens' (IfThenElse l) (Maybe (StmtNode l)) Source #

whileVondition :: forall l. Lens' (While l) (ExpNode l) Source #

whileBody :: forall l. Lens' (While l) (StmtNode l) Source #

infoWhile :: forall l. Lens' (While l) l Source #

infoBasicFor :: forall l. Lens' (BasicFor l) l Source #

forUpdate :: forall l. Lens' (BasicFor l) (Maybe [ExpNode l]) Source #

forInit :: forall l. Lens' (BasicFor l) (Maybe (ForInitNode l)) Source #

forCond :: forall l. Lens' (BasicFor l) (Maybe (ExpNode l)) Source #

iterable :: forall l. Lens' (EnhancedFor l) (ExpNode l) Source #

infoEmpty :: forall l l. Iso (Empty l) (Empty l) l l Source #

valueExp :: forall l. Lens' (Assert l) (Maybe (ExpNode l)) Source #

infoAssert :: forall l. Lens' (Assert l) l Source #

booleanExp :: forall l. Lens' (Assert l) (ExpNode l) Source #

switchValue :: forall l. Lens' (Switch l) (ExpNode l) Source #

infoSwitch :: forall l. Lens' (Switch l) l Source #

infoDo :: forall l. Lens' (Do l) l Source #

doCondition :: forall l. Lens' (Do l) (ExpNode l) Source #

doBody :: forall l. Lens' (Do l) (StmtNode l) Source #

infoBreak :: forall l l. Lens (Break l) (Break l) l l Source #

breakLabel :: forall l. Lens' (Break l) (Maybe Ident) Source #

infoContinue :: forall l l. Lens (Continue l) (Continue l) l l Source #

returnExp :: forall l. Lens' (Return l) (Maybe (ExpNode l)) Source #

infoReturn :: forall l. Lens' (Return l) l Source #

throwExp :: forall l. Lens' (Throw l) (ExpNode l) Source #

infoThrow :: forall l. Lens' (Throw l) l Source #

tryBlock :: forall l. Lens' (Try l) (Block l) Source #

infoTry :: forall l. Lens' (Try l) l Source #

finally :: forall l. Lens' (Try l) (Maybe (Block l)) Source #

catches :: forall l. Lens' (Try l) [Catch l] Source #

labeledStmt :: forall l. Lens' (Labeled l) (StmtNode l) Source #

label :: forall l. Lens' (Labeled l) Ident Source #

infoLabeled :: forall l. Lens' (Labeled l) l Source #

infoCatch :: forall l. Lens' (Catch l) l Source #

catchParam :: forall l. Lens' (Catch l) (FormalParam l) Source #

catchBlock :: forall l. Lens' (Catch l) (Block l) Source #

initExpr :: forall l. Lens' (ForInitExps l) [ExpNode l] Source #

literal :: forall l. Lens' (Lit l) Literal Source #

infoLit :: forall l l. Lens (Lit l) (Lit l) l l Source #

infoClassLit :: forall l l. Lens (ClassLit l) (ClassLit l) l l Source #

classLit :: forall l. Lens' (ClassLit l) (Maybe Type) Source #

infoThis :: forall l l. Iso (This l) (This l) l l Source #

infoExpName :: forall l l. Lens (ExpName l) (ExpName l) l l Source #

expName :: forall l. Lens' (ExpName l) Name Source #

infoCast :: forall l. Lens' (Cast l) l Source #

castTarget :: forall l. Lens' (Cast l) Type Source #

castArg :: forall l. Lens' (Cast l) (ExpNode l) Source #

infoBinOp :: forall l. Lens' (BinOp l) l Source #

binOpRight :: forall l. Lens' (BinOp l) (ExpNode l) Source #

binOp :: forall l. Lens' (BinOp l) Op Source #

binArgLeft :: forall l. Lens' (BinOp l) (ExpNode l) Source #

infoCond :: forall l. Lens' (Cond l) l Source #

conditionTrueExp :: forall l. Lens' (Cond l) (ExpNode l) Source #

condition :: forall l. Lens' (Cond l) (ExpNode l) Source #

infoAssign :: forall l. Lens' (Assign l) l Source #

assignTarget :: forall l. Lens' (Assign l) (LhsNode l) Source #

assignSource :: forall l. Lens' (Assign l) (ExpNode l) Source #

infoLambda :: forall l. Lens' (Lambda l) l Source #

infoMethodRef :: forall l l. Lens (MethodRef l) (MethodRef l) l l Source #

varLhsName :: forall l. Lens' (NameLhs l) Name Source #

infoNameLhs :: forall l l. Lens (NameLhs l) (NameLhs l) l l Source #

arrayName :: forall l. Lens' (ArrayIndex l) (ExpNode l) Source #

infoArrayInit :: forall l. Lens' (ArrayInit l) l Source #