Groovy 2.2.1

org.codehaus.groovy.ast
[Java] Interface GroovyCodeVisitor


public interface GroovyCodeVisitor

An implementation of the visitor pattern for working with ASTNodes

Authors:
James Strachan
Version:
\$Revision\$


Method Summary
void visitArgumentlistExpression(ArgumentListExpression expression)

void visitArrayExpression(ArrayExpression expression)

void visitAssertStatement(AssertStatement statement)

void visitAttributeExpression(AttributeExpression attributeExpression)

void visitBinaryExpression(BinaryExpression expression)

void visitBitwiseNegationExpression(BitwiseNegationExpression expression)

void visitBlockStatement(BlockStatement statement)

void visitBooleanExpression(BooleanExpression expression)

void visitBreakStatement(BreakStatement statement)

void visitBytecodeExpression(BytecodeExpression expression)

void visitCaseStatement(CaseStatement statement)

void visitCastExpression(CastExpression expression)

void visitCatchStatement(CatchStatement statement)

void visitClassExpression(ClassExpression expression)

void visitClosureExpression(ClosureExpression expression)

void visitClosureListExpression(ClosureListExpression closureListExpression)

void visitConstantExpression(ConstantExpression expression)

void visitConstructorCallExpression(ConstructorCallExpression expression)

void visitContinueStatement(ContinueStatement statement)

void visitDeclarationExpression(DeclarationExpression expression)

void visitDoWhileLoop(DoWhileStatement loop)

void visitExpressionStatement(ExpressionStatement statement)

void visitFieldExpression(FieldExpression expression)

void visitForLoop(ForStatement forLoop)

void visitGStringExpression(GStringExpression expression)

void visitIfElse(IfStatement ifElse)

void visitListExpression(ListExpression expression)

void visitMapEntryExpression(MapEntryExpression expression)

void visitMapExpression(MapExpression expression)

void visitMethodCallExpression(MethodCallExpression call)

void visitMethodPointerExpression(MethodPointerExpression expression)

void visitNotExpression(NotExpression expression)

void visitPostfixExpression(PostfixExpression expression)

void visitPrefixExpression(PrefixExpression expression)

void visitPropertyExpression(PropertyExpression expression)

void visitRangeExpression(RangeExpression expression)

void visitReturnStatement(ReturnStatement statement)

void visitShortTernaryExpression(ElvisOperatorExpression expression)

void visitSpreadExpression(SpreadExpression expression)

void visitSpreadMapExpression(SpreadMapExpression expression)

void visitStaticMethodCallExpression(StaticMethodCallExpression expression)

void visitSwitch(SwitchStatement statement)

void visitSynchronizedStatement(SynchronizedStatement statement)

void visitTernaryExpression(TernaryExpression expression)

void visitThrowStatement(ThrowStatement statement)

void visitTryCatchFinally(TryCatchStatement finally1)

void visitTupleExpression(TupleExpression expression)

void visitUnaryMinusExpression(UnaryMinusExpression expression)

void visitUnaryPlusExpression(UnaryPlusExpression expression)

void visitVariableExpression(VariableExpression expression)

void visitWhileLoop(WhileStatement loop)

 

Method Detail

visitArgumentlistExpression

public void visitArgumentlistExpression(ArgumentListExpression expression)


visitArrayExpression

public void visitArrayExpression(ArrayExpression expression)


visitAssertStatement

public void visitAssertStatement(AssertStatement statement)


visitAttributeExpression

public void visitAttributeExpression(AttributeExpression attributeExpression)


visitBinaryExpression

public void visitBinaryExpression(BinaryExpression expression)


visitBitwiseNegationExpression

public void visitBitwiseNegationExpression(BitwiseNegationExpression expression)


visitBlockStatement

public void visitBlockStatement(BlockStatement statement)


visitBooleanExpression

public void visitBooleanExpression(BooleanExpression expression)


visitBreakStatement

public void visitBreakStatement(BreakStatement statement)


visitBytecodeExpression

public void visitBytecodeExpression(BytecodeExpression expression)


visitCaseStatement

public void visitCaseStatement(CaseStatement statement)


visitCastExpression

public void visitCastExpression(CastExpression expression)


visitCatchStatement

public void visitCatchStatement(CatchStatement statement)


visitClassExpression

public void visitClassExpression(ClassExpression expression)


visitClosureExpression

public void visitClosureExpression(ClosureExpression expression)


visitClosureListExpression

public void visitClosureListExpression(ClosureListExpression closureListExpression)


visitConstantExpression

public void visitConstantExpression(ConstantExpression expression)


visitConstructorCallExpression

public void visitConstructorCallExpression(ConstructorCallExpression expression)


visitContinueStatement

public void visitContinueStatement(ContinueStatement statement)


visitDeclarationExpression

public void visitDeclarationExpression(DeclarationExpression expression)


visitDoWhileLoop

public void visitDoWhileLoop(DoWhileStatement loop)


visitExpressionStatement

public void visitExpressionStatement(ExpressionStatement statement)


visitFieldExpression

public void visitFieldExpression(FieldExpression expression)


visitForLoop

public void visitForLoop(ForStatement forLoop)


visitGStringExpression

public void visitGStringExpression(GStringExpression expression)


visitIfElse

public void visitIfElse(IfStatement ifElse)


visitListExpression

public void visitListExpression(ListExpression expression)


visitMapEntryExpression

public void visitMapEntryExpression(MapEntryExpression expression)


visitMapExpression

public void visitMapExpression(MapExpression expression)


visitMethodCallExpression

public void visitMethodCallExpression(MethodCallExpression call)


visitMethodPointerExpression

public void visitMethodPointerExpression(MethodPointerExpression expression)


visitNotExpression

public void visitNotExpression(NotExpression expression)


visitPostfixExpression

public void visitPostfixExpression(PostfixExpression expression)


visitPrefixExpression

public void visitPrefixExpression(PrefixExpression expression)


visitPropertyExpression

public void visitPropertyExpression(PropertyExpression expression)


visitRangeExpression

public void visitRangeExpression(RangeExpression expression)


visitReturnStatement

public void visitReturnStatement(ReturnStatement statement)


visitShortTernaryExpression

public void visitShortTernaryExpression(ElvisOperatorExpression expression)


visitSpreadExpression

public void visitSpreadExpression(SpreadExpression expression)


visitSpreadMapExpression

public void visitSpreadMapExpression(SpreadMapExpression expression)


visitStaticMethodCallExpression

public void visitStaticMethodCallExpression(StaticMethodCallExpression expression)


visitSwitch

public void visitSwitch(SwitchStatement statement)


visitSynchronizedStatement

public void visitSynchronizedStatement(SynchronizedStatement statement)


visitTernaryExpression

public void visitTernaryExpression(TernaryExpression expression)


visitThrowStatement

public void visitThrowStatement(ThrowStatement statement)


visitTryCatchFinally

public void visitTryCatchFinally(TryCatchStatement finally1)


visitTupleExpression

public void visitTupleExpression(TupleExpression expression)


visitUnaryMinusExpression

public void visitUnaryMinusExpression(UnaryMinusExpression expression)


visitUnaryPlusExpression

public void visitUnaryPlusExpression(UnaryPlusExpression expression)


visitVariableExpression

public void visitVariableExpression(VariableExpression expression)


visitWhileLoop

public void visitWhileLoop(WhileStatement loop)


 

Copyright © 2003-2013 The Codehaus. All rights reserved.