public interface GroovyCodeVisitor
An implementation of the visitor pattern for working with ASTNodes.
public void
visit(Statement statement)
visit(Expression expression)
visitArgumentlistExpression(ArgumentListExpression expression)
visitArrayExpression(ArrayExpression expression)
visitAssertStatement(AssertStatement statement)
visitAttributeExpression(AttributeExpression expression)
visitBinaryExpression(BinaryExpression expression)
visitBitwiseNegationExpression(BitwiseNegationExpression expression)
visitBlockStatement(BlockStatement statement)
visitBooleanExpression(BooleanExpression expression)
visitBreakStatement(BreakStatement statement)
visitBytecodeExpression(BytecodeExpression expression)
visitCaseStatement(CaseStatement statement)
visitCastExpression(CastExpression expression)
visitCatchStatement(CatchStatement statement)
visitClassExpression(ClassExpression expression)
visitClosureExpression(ClosureExpression expression)
visitClosureListExpression(ClosureListExpression expression)
visitConstantExpression(ConstantExpression expression)
visitConstructorCallExpression(ConstructorCallExpression expression)
visitContinueStatement(ContinueStatement statement)
visitDeclarationExpression(DeclarationExpression expression)
visitDoWhileLoop(DoWhileStatement statement)
visitEmptyExpression(EmptyExpression expression)
visitEmptyStatement(EmptyStatement statement)
visitExpressionStatement(ExpressionStatement statement)
visitFieldExpression(FieldExpression expression)
visitForLoop(ForStatement statement)
visitGStringExpression(GStringExpression expression)
visitIfElse(IfStatement statement)
visitLambdaExpression(LambdaExpression expression)
visitListExpression(ListExpression expression)
visitListOfExpressions(List<? extends Expression> list)
visitMapEntryExpression(MapEntryExpression expression)
visitMapExpression(MapExpression expression)
visitMethodCallExpression(MethodCallExpression expression)
visitMethodPointerExpression(MethodPointerExpression expression)
visitMethodReferenceExpression(MethodReferenceExpression expression)
visitNotExpression(NotExpression expression)
visitPostfixExpression(PostfixExpression expression)
visitPrefixExpression(PrefixExpression expression)
visitPropertyExpression(PropertyExpression expression)
visitRangeExpression(RangeExpression expression)
visitReturnStatement(ReturnStatement statement)
visitShortTernaryExpression(ElvisOperatorExpression expression)
visitSpreadExpression(SpreadExpression expression)
visitSpreadMapExpression(SpreadMapExpression expression)
visitStaticMethodCallExpression(StaticMethodCallExpression expression)
visitSwitch(SwitchStatement statement)
visitSynchronizedStatement(SynchronizedStatement statement)
visitTernaryExpression(TernaryExpression expression)
visitThrowStatement(ThrowStatement statement)
visitTryCatchFinally(TryCatchStatement statement)
visitTupleExpression(TupleExpression expression)
visitUnaryMinusExpression(UnaryMinusExpression expression)
visitUnaryPlusExpression(UnaryPlusExpression expression)
visitVariableExpression(VariableExpression expression)
visitWhileLoop(WhileStatement statement)
Copyright © 2003-2022 The Apache Software Foundation. All rights reserved.