Package org.codehaus.groovy.ast
Interface GroovyCodeVisitor
-
- All Known Implementing Classes:
AbstractInterruptibleASTTransformation
,AnnotationConstantsVisitor
,AsmClassGenerator
,ASTTransformationCollectorCodeVisitor
,ASTTransformationVisitor
,ClassCodeExpressionTransformer
,ClassCodeVisitorSupport
,ClassCompletionVerifier
,ClassGenerator
,ClosureWriter.CorrectAccessedVariableVisitor
,CodeVisitorSupport
,ContextualClassCodeVisitor
,DependencyTracker
,DummyClassGenerator
,EnumCompletionVisitor
,EnumVisitor
,ExtendedVerifier
,FieldASTTransformation
,FinalVariableAnalyzer
,GenericsVisitor
,GrabAnnotationTransformation
,GroovydocVisitor
,InnerClassCompletionVisitor
,InnerClassVisitor
,InnerClassVisitorHelper
,InstanceOfVerifier
,JavaAwareResolveVisitor
,LabelVerifier
,MethodInvocationTrap
,NewifyASTTransformation
,OptimizerVisitor
,ResolveVisitor
,SecureASTCustomizer.SecuringCodeVisitor
,SharedVariableCollector
,SqlOrderByVisitor
,SqlWhereVisitor
,StaticCompilationTransformer
,StaticCompilationVisitor
,StaticImportVisitor
,StaticTypeCheckingVisitor
,StaticTypeCheckingVisitor.VariableExpressionTypeMemoizer
,StaticVerifier
,TransformingCodeVisitor
,VariableScopeVisitor
,VerifierCodeVisitor
public interface GroovyCodeVisitor
An implementation of the visitor pattern for working with ASTNodes.
-
-
Method Summary
-
-
-
Method Detail
-
visitBlockStatement
void visitBlockStatement(BlockStatement statement)
-
visitForLoop
void visitForLoop(ForStatement statement)
-
visitWhileLoop
void visitWhileLoop(WhileStatement statement)
-
visitDoWhileLoop
void visitDoWhileLoop(DoWhileStatement statement)
-
visitIfElse
void visitIfElse(IfStatement statement)
-
visitExpressionStatement
void visitExpressionStatement(ExpressionStatement statement)
-
visitReturnStatement
void visitReturnStatement(ReturnStatement statement)
-
visitAssertStatement
void visitAssertStatement(AssertStatement statement)
-
visitTryCatchFinally
void visitTryCatchFinally(TryCatchStatement statement)
-
visitSwitch
void visitSwitch(SwitchStatement statement)
-
visitCaseStatement
void visitCaseStatement(CaseStatement statement)
-
visitBreakStatement
void visitBreakStatement(BreakStatement statement)
-
visitContinueStatement
void visitContinueStatement(ContinueStatement statement)
-
visitThrowStatement
void visitThrowStatement(ThrowStatement statement)
-
visitSynchronizedStatement
void visitSynchronizedStatement(SynchronizedStatement statement)
-
visitCatchStatement
void visitCatchStatement(CatchStatement statement)
-
visitEmptyStatement
default void visitEmptyStatement(EmptyStatement statement)
-
visitMethodCallExpression
void visitMethodCallExpression(MethodCallExpression expression)
-
visitStaticMethodCallExpression
void visitStaticMethodCallExpression(StaticMethodCallExpression expression)
-
visitConstructorCallExpression
void visitConstructorCallExpression(ConstructorCallExpression expression)
-
visitTernaryExpression
void visitTernaryExpression(TernaryExpression expression)
-
visitShortTernaryExpression
void visitShortTernaryExpression(ElvisOperatorExpression expression)
-
visitBinaryExpression
void visitBinaryExpression(BinaryExpression expression)
-
visitPrefixExpression
void visitPrefixExpression(PrefixExpression expression)
-
visitPostfixExpression
void visitPostfixExpression(PostfixExpression expression)
-
visitBooleanExpression
void visitBooleanExpression(BooleanExpression expression)
-
visitClosureExpression
void visitClosureExpression(ClosureExpression expression)
-
visitLambdaExpression
void visitLambdaExpression(LambdaExpression expression)
-
visitTupleExpression
void visitTupleExpression(TupleExpression expression)
-
visitMapExpression
void visitMapExpression(MapExpression expression)
-
visitMapEntryExpression
void visitMapEntryExpression(MapEntryExpression expression)
-
visitListExpression
void visitListExpression(ListExpression expression)
-
visitRangeExpression
void visitRangeExpression(RangeExpression expression)
-
visitPropertyExpression
void visitPropertyExpression(PropertyExpression expression)
-
visitAttributeExpression
void visitAttributeExpression(AttributeExpression expression)
-
visitFieldExpression
void visitFieldExpression(FieldExpression expression)
-
visitMethodPointerExpression
void visitMethodPointerExpression(MethodPointerExpression expression)
-
visitMethodReferenceExpression
void visitMethodReferenceExpression(MethodReferenceExpression expression)
-
visitConstantExpression
void visitConstantExpression(ConstantExpression expression)
-
visitClassExpression
void visitClassExpression(ClassExpression expression)
-
visitVariableExpression
void visitVariableExpression(VariableExpression expression)
-
visitDeclarationExpression
void visitDeclarationExpression(DeclarationExpression expression)
-
visitGStringExpression
void visitGStringExpression(GStringExpression expression)
-
visitArrayExpression
void visitArrayExpression(ArrayExpression expression)
-
visitSpreadExpression
void visitSpreadExpression(SpreadExpression expression)
-
visitSpreadMapExpression
void visitSpreadMapExpression(SpreadMapExpression expression)
-
visitNotExpression
void visitNotExpression(NotExpression expression)
-
visitUnaryMinusExpression
void visitUnaryMinusExpression(UnaryMinusExpression expression)
-
visitUnaryPlusExpression
void visitUnaryPlusExpression(UnaryPlusExpression expression)
-
visitBitwiseNegationExpression
void visitBitwiseNegationExpression(BitwiseNegationExpression expression)
-
visitCastExpression
void visitCastExpression(CastExpression expression)
-
visitArgumentlistExpression
void visitArgumentlistExpression(ArgumentListExpression expression)
-
visitClosureListExpression
void visitClosureListExpression(ClosureListExpression expression)
-
visitBytecodeExpression
void visitBytecodeExpression(BytecodeExpression expression)
-
visitEmptyExpression
default void visitEmptyExpression(EmptyExpression expression)
-
visitListOfExpressions
default void visitListOfExpressions(List<? extends Expression> list)
-
-