This AST visitor builds up a TreeNode.
def
currentNode
void
visitArgumentlistExpression(ArgumentListExpression node)
visitArrayExpression(ArrayExpression node)
visitAssertStatement(AssertStatement node)
visitAttributeExpression(AttributeExpression node)
visitBinaryExpression(BinaryExpression node)
visitBitwiseNegationExpression(BitwiseNegationExpression node)
visitBlockStatement(BlockStatement node)
visitBooleanExpression(BooleanExpression node)
visitBreakStatement(BreakStatement node)
visitBytecodeExpression(BytecodeExpression node)
visitCaseStatement(CaseStatement node)
visitCastExpression(CastExpression node)
visitCatchStatement(CatchStatement node)
visitClassExpression(ClassExpression node)
visitClosureExpression(ClosureExpression node)
visitClosureListExpression(ClosureListExpression node)
visitConstantExpression(ConstantExpression node)
visitConstructorCallExpression(ConstructorCallExpression node)
visitContinueStatement(ContinueStatement node)
visitDeclarationExpression(DeclarationExpression node)
visitDoWhileLoop(DoWhileStatement node)
protected void
visitEmptyStatement(EmptyStatement node)
visitExpressionStatement(ExpressionStatement node)
visitFieldExpression(FieldExpression node)
visitForLoop(ForStatement node)
visitGStringExpression(GStringExpression node)
visitIfElse(IfStatement node)
visitListExpression(ListExpression node)
visitListOfExpressions(List<? extends Expression> list)
visitMapEntryExpression(MapEntryExpression node)
visitMapExpression(MapExpression node)
visitMethodCallExpression(MethodCallExpression node)
visitMethodPointerExpression(MethodPointerExpression node)
visitNotExpression(NotExpression node)
visitParameter(Parameter node)
visitPostfixExpression(PostfixExpression node)
visitPrefixExpression(PrefixExpression node)
visitPropertyExpression(PropertyExpression node)
visitRangeExpression(RangeExpression node)
visitReturnStatement(ReturnStatement node)
visitShortTernaryExpression(ElvisOperatorExpression node)
visitSpreadExpression(SpreadExpression node)
visitSpreadMapExpression(SpreadMapExpression node)
visitStaticMethodCallExpression(StaticMethodCallExpression node)
visitSwitch(SwitchStatement node)
visitSynchronizedStatement(SynchronizedStatement node)
visitTernaryExpression(TernaryExpression node)
visitThrowStatement(ThrowStatement node)
visitTryCatchFinally(TryCatchStatement node)
visitTupleExpression(TupleExpression node)
visitUnaryMinusExpression(UnaryMinusExpression node)
visitUnaryPlusExpression(UnaryPlusExpression node)
visitVariableExpression(VariableExpression node)
visitWhileLoop(WhileStatement node)
class CodeVisitorSupport
visitClassExpression, visitPropertyExpression, visitConstantExpression, visitReturnStatement, visitListExpression, visitClosureExpression, visitForLoop, visitWhileLoop, visitDoWhileLoop, visitIfElse, visitExpressionStatement, visitAssertStatement, visitTryCatchFinally, visitSwitch, visitCaseStatement, visitBreakStatement, visitContinueStatement, visitThrowStatement, visitSynchronizedStatement, visitCatchStatement, visitStaticMethodCallExpression, visitConstructorCallExpression, visitTernaryExpression, visitShortTernaryExpression, visitBinaryExpression, visitArgumentlistExpression, visitMethodCallExpression, visitTupleExpression, visitBlockStatement, visitPrefixExpression, visitPostfixExpression, visitBooleanExpression, visitMapExpression, visitMapEntryExpression, visitRangeExpression, visitAttributeExpression, visitFieldExpression, visitMethodPointerExpression, visitDeclarationExpression, visitGStringExpression, visitArrayExpression, visitSpreadExpression, visitSpreadMapExpression, visitNotExpression, visitUnaryMinusExpression, visitUnaryPlusExpression, visitBitwiseNegationExpression, visitCastExpression, visitClosureListExpression, visitBytecodeExpression, visitVariableExpression, wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll
class Object
wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll
Makes walking parameters look like others in the visitor.
Copyright © 2003-2014 The Codehaus. All rights reserved.