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
visitConstantExpression, visitListExpression, visitReturnStatement, visitClassExpression, visitPropertyExpression, visitVariableExpression, visitTupleExpression, visitArgumentlistExpression, visitMethodCallExpression, visitExpressionStatement, visitClosureExpression, visitBlockStatement, visitForLoop, visitSwitch, visitWhileLoop, visitDoWhileLoop, visitCatchStatement, visitAssertStatement, visitIfElse, visitCaseStatement, visitSynchronizedStatement, visitThrowStatement, visitDeclarationExpression, visitBreakStatement, visitContinueStatement, visitTryCatchFinally, visitStaticMethodCallExpression, visitConstructorCallExpression, visitBinaryExpression, visitTernaryExpression, visitShortTernaryExpression, visitPostfixExpression, visitPrefixExpression, visitBooleanExpression, visitNotExpression, visitArrayExpression, visitMapExpression, visitMapEntryExpression, visitRangeExpression, visitSpreadExpression, visitSpreadMapExpression, visitMethodPointerExpression, visitUnaryMinusExpression, visitUnaryPlusExpression, visitBitwiseNegationExpression, visitCastExpression, visitAttributeExpression, visitFieldExpression, visitGStringExpression, visitClosureListExpression, visitBytecodeExpression, 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.