Package org.codehaus.groovy.ast
Interface GroovyCodeVisitor
-
- All Known Implementing Classes:
AbstractInterruptibleASTTransformation
,AnnotationConstantsVisitor
,AsmClassGenerator
,ASTTransformationCollectorCodeVisitor
,ASTTransformationVisitor
,ClassCodeExpressionTransformer
,ClassCodeVisitorSupport
,ClassCompletionVerifier
,ClassGenerator
,CodeVisitorSupport
,ContextualClassCodeVisitor
,DependencyTracker
,DummyClassGenerator
,EnumCompletionVisitor
,EnumVisitor
,ExtendedVerifier
,FieldASTTransformation
,FinalVariableAnalyzer
,GenericsVisitor
,GrabAnnotationTransformation
,InnerClassCompletionVisitor
,InnerClassVisitor
,InnerClassVisitorHelper
,InstanceOfVerifier
,JavaAwareResolveVisitor
,LabelVerifier
,MethodInvocationTrap
,NewifyASTTransformation
,OptimizerVisitor
,ResolveVisitor
,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 forLoop)
-
visitWhileLoop
void visitWhileLoop(WhileStatement loop)
-
visitDoWhileLoop
void visitDoWhileLoop(DoWhileStatement loop)
-
visitIfElse
void visitIfElse(IfStatement ifElse)
-
visitExpressionStatement
void visitExpressionStatement(ExpressionStatement statement)
-
visitReturnStatement
void visitReturnStatement(ReturnStatement statement)
-
visitAssertStatement
void visitAssertStatement(AssertStatement statement)
-
visitTryCatchFinally
void visitTryCatchFinally(TryCatchStatement finally1)
-
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)
-
visitMethodCallExpression
void visitMethodCallExpression(MethodCallExpression call)
-
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)
-
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 attributeExpression)
-
visitFieldExpression
void visitFieldExpression(FieldExpression expression)
-
visitMethodPointerExpression
void visitMethodPointerExpression(MethodPointerExpression 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 closureListExpression)
-
visitBytecodeExpression
void visitBytecodeExpression(BytecodeExpression expression)
-
-