|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectkoala.dynamicjava.tree.visitor.AbstractVisitor<T>
public abstract class AbstractVisitor<T>
A visitor that, by default, invokes the method defaultCase(). If defaultCase is not overriden, this results in an IllegalArgumentException.
| Constructor Summary | |
|---|---|
AbstractVisitor()
|
|
| Method Summary | |
|---|---|
T |
defaultCase(Node node)
|
T |
visit(AddAssignExpression node)
Visits an AddAssignExpression |
T |
visit(AddExpression node)
Visits a AddExpression |
T |
visit(AmbiguousName node)
Visits a AmbiguousName |
T |
visit(AndExpression node)
Visits a AndExpression |
T |
visit(Annotation node)
|
T |
visit(AnonymousAllocation node)
Visits an AnonymousAllocation |
T |
visit(AnonymousInnerAllocation node)
Visits an AnonymousInnerAllocation |
T |
visit(ArrayAccess node)
Visits a ArrayAccess |
T |
visit(ArrayAllocation node)
Visits an ArrayAllocation |
T |
visit(ArrayInitializer node)
Visits an ArrayInitializer |
T |
visit(ArrayTypeName node)
Visits a ArrayTypeName |
T |
visit(AssertStatement node)
Visits an AssertStatement |
T |
visit(BitAndAssignExpression node)
Visits a BitAndAssignExpression |
T |
visit(BitAndExpression node)
Visits a BitAndExpression |
T |
visit(BitOrAssignExpression node)
Visits a BitOrAssignExpression |
T |
visit(BitOrExpression node)
Visits a BitOrExpression |
T |
visit(BlockStatement node)
Visits a BlockStatement |
T |
visit(BooleanTypeName node)
Visits a BooleanTypeName |
T |
visit(BreakStatement node)
Visits a BreakStatement |
T |
visit(ByteTypeName node)
Visits a ByteTypeName |
T |
visit(CastExpression node)
Visits a CastExpression |
T |
visit(CatchStatement node)
Visits a CatchStatement |
T |
visit(CharTypeName node)
Visits a CharTypeName |
T |
visit(ClassDeclaration node)
Visits a ClassDeclaration |
T |
visit(ClassInitializer node)
Visits a ClassInitializer |
T |
visit(CompilationUnit node)
Visits a CompilationUnit |
T |
visit(ComplementExpression node)
Visits a ComplementExpression |
T |
visit(ConditionalExpression node)
Visits a ConditionalExpression |
T |
visit(ConstructorCall node)
Visits a ConstructorCall |
T |
visit(ConstructorDeclaration node)
Visits a ConstructorDeclaration |
T |
visit(ContinueStatement node)
Visits a ContinueStatement |
T |
visit(DivideAssignExpression node)
Visits an DivideAssignExpression |
T |
visit(DivideExpression node)
Visits a DivideExpression |
T |
visit(DoStatement node)
Visits a DoStatement |
T |
visit(DoubleTypeName node)
Visits a DoubleTypeName |
T |
visit(EmptyStatement node)
Visits an EmptyStatement |
T |
visit(EnumDeclaration.EnumConstant node)
|
T |
visit(EqualExpression node)
Visits a EqualExpression |
T |
visit(ExclusiveOrAssignExpression node)
Visits a ExclusiveOrAssignExpression |
T |
visit(ExclusiveOrExpression node)
Visits a ExclusiveOrExpression |
T |
visit(ExpressionStatement node)
Visits an ExpressionStatement |
T |
visit(FieldDeclaration node)
Visits a FieldDeclaration |
T |
visit(FloatTypeName node)
Visits a FloatTypeName |
T |
visit(ForEachStatement node)
Visits a ForEachStatement |
T |
visit(FormalParameter node)
Visits a FormalParameter |
T |
visit(ForStatement node)
Visits a ForStatement |
T |
visit(GenericReferenceTypeName node)
Visits a GenericReferenceTypeName |
T |
visit(GreaterExpression node)
Visits a GreaterExpression |
T |
visit(GreaterOrEqualExpression node)
Visits a GreaterOrEqualExpression |
T |
visit(HookTypeName node)
Visits a HookTypeName |
T |
visit(IfThenElseStatement node)
Visits a IfThenElseStatement |
T |
visit(IfThenStatement node)
Visits a IfThenStatement |
T |
visit(ImportDeclaration node)
Visits an ImportDeclaration |
T |
visit(InnerAllocation node)
Visits an InnerAllocation |
T |
visit(InstanceInitializer node)
Visits a InstanceInitializer |
T |
visit(InstanceOfExpression node)
Visits an InstanceOfExpression |
T |
visit(InterfaceDeclaration node)
Visits a InterfaceDeclaration |
T |
visit(IntTypeName node)
Visits a IntTypeName |
T |
visit(LabeledStatement node)
Visits a LabeledStatement |
T |
visit(LessExpression node)
Visits a LessExpression |
T |
visit(LessOrEqualExpression node)
Visits a LessOrEqualExpression |
T |
visit(Literal node)
Visits a Literal |
T |
visit(LongTypeName node)
Visits a LongTypeName |
T |
visit(MethodDeclaration node)
Visits a MethodDeclaration |
T |
visit(MinusExpression node)
Visits a MinusExpression |
T |
visit(ModifierSet node)
|
T |
visit(MultiplyAssignExpression node)
Visits an MultiplyAssignExpression |
T |
visit(MultiplyExpression node)
Visits a MultiplyExpression |
T |
visit(NotEqualExpression node)
Visits a NotEqualExpression |
T |
visit(NotExpression node)
Visits a NotExpression |
T |
visit(ObjectFieldAccess node)
Visits a ObjectFieldAccess |
T |
visit(ObjectMethodCall node)
Visits a ObjectMethodCall |
T |
visit(OrExpression node)
Visits a OrExpression |
T |
visit(PackageDeclaration node)
Visits an PackageDeclaration |
T |
visit(PlusExpression node)
Visits a PlusExpression |
T |
visit(PostDecrement node)
Visits a PostDecrement |
T |
visit(PostIncrement node)
Visits a PostIncrement |
T |
visit(PreDecrement node)
Visits a PreDecrement |
T |
visit(PreIncrement node)
Visits a PreIncrement |
T |
visit(ReferenceTypeName node)
Visits a ReferenceTypeName |
T |
visit(RemainderAssignExpression node)
Visits an RemainderAssignExpression |
T |
visit(RemainderExpression node)
Visits a RemainderExpression |
T |
visit(ReturnStatement node)
Visits a ReturnStatement |
T |
visit(ShiftLeftAssignExpression node)
Visits an ShiftLeftAssignExpression |
T |
visit(ShiftLeftExpression node)
Visits a ShiftLeftExpression |
T |
visit(ShiftRightAssignExpression node)
Visits an ShiftRightAssignExpression |
T |
visit(ShiftRightExpression node)
Visits a ShiftRightExpression |
T |
visit(ShortTypeName node)
Visits a ShortTypeName |
T |
visit(SimpleAllocation node)
Visits a SimpleAllocation |
T |
visit(SimpleAssignExpression node)
Visits an SimpleAssignExpression |
T |
visit(SimpleFieldAccess node)
Visits a SimpleFieldAccess |
T |
visit(SimpleMethodCall node)
Visits a SimpleMethodCall |
T |
visit(StaticFieldAccess node)
Visits a StaticFieldAccess |
T |
visit(StaticMethodCall node)
Visits a StaticMethodCall |
T |
visit(SubtractAssignExpression node)
Visits an SubtractAssignExpression |
T |
visit(SubtractExpression node)
Visits a SubtractExpression |
T |
visit(SuperFieldAccess node)
Visits a SuperFieldAccess |
T |
visit(SuperMethodCall node)
Visits a SuperMethodCall |
T |
visit(SwitchBlock node)
Visits a SwitchBlock |
T |
visit(SwitchStatement node)
Visits a SwitchStatement |
T |
visit(SynchronizedStatement node)
Visits a SynchronizedStatement |
T |
visit(ThisExpression node)
Visits a ThisExpression |
T |
visit(ThrowStatement node)
Visits a ThrowStatement |
T |
visit(TryStatement node)
Visits a TryStatement |
T |
visit(TypeExpression node)
Visits a TypeExpression |
T |
visit(UnsignedShiftRightAssignExpression node)
Visits an UnsignedShiftRightAssignExpression |
T |
visit(UnsignedShiftRightExpression node)
Visits a UnsignedShiftRightExpression |
T |
visit(VariableAccess node)
Visits a VariableAccess |
T |
visit(VariableDeclaration node)
Visits a VariableDeclaration |
T |
visit(VoidTypeName node)
Visits a VoidTypeName |
T |
visit(WhileStatement node)
Visits a WhileStatement |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AbstractVisitor()
| Method Detail |
|---|
public T defaultCase(Node node)
public T visit(CompilationUnit node)
visit in interface Visitor<T>node - the node to visitpublic T visit(PackageDeclaration node)
visit in interface Visitor<T>node - the node to visitpublic T visit(ImportDeclaration node)
visit in interface Visitor<T>node - the node to visitpublic T visit(EmptyStatement node)
visit in interface Visitor<T>node - the node to visitpublic T visit(ExpressionStatement node)
visit in interface Visitor<T>node - the node to visitpublic T visit(WhileStatement node)
visit in interface Visitor<T>node - the node to visitpublic T visit(ForStatement node)
visit in interface Visitor<T>node - the node to visitpublic T visit(ForEachStatement node)
visit in interface Visitor<T>node - the node to visitpublic T visit(DoStatement node)
visit in interface Visitor<T>node - the node to visitpublic T visit(SwitchStatement node)
visit in interface Visitor<T>node - the node to visitpublic T visit(SwitchBlock node)
visit in interface Visitor<T>node - the node to visitpublic T visit(LabeledStatement node)
visit in interface Visitor<T>node - the node to visitpublic T visit(BreakStatement node)
visit in interface Visitor<T>node - the node to visitpublic T visit(TryStatement node)
visit in interface Visitor<T>node - the node to visitpublic T visit(CatchStatement node)
visit in interface Visitor<T>node - the node to visitpublic T visit(ThrowStatement node)
visit in interface Visitor<T>node - the node to visitpublic T visit(ReturnStatement node)
visit in interface Visitor<T>node - the node to visitpublic T visit(SynchronizedStatement node)
visit in interface Visitor<T>node - the node to visitpublic T visit(ContinueStatement node)
visit in interface Visitor<T>node - the node to visitpublic T visit(IfThenStatement node)
visit in interface Visitor<T>node - the node to visitpublic T visit(IfThenElseStatement node)
visit in interface Visitor<T>node - the node to visitpublic T visit(AssertStatement node)
visit in interface Visitor<T>node - the node to visitpublic T visit(Literal node)
visit in interface Visitor<T>node - the node to visitpublic T visit(ThisExpression node)
visit in interface Visitor<T>node - the node to visitpublic T visit(AmbiguousName node)
visit in interface Visitor<T>node - the node to visitpublic T visit(VariableAccess node)
visit in interface Visitor<T>node - the node to visitpublic T visit(SimpleFieldAccess node)
visit in interface Visitor<T>node - the node to visitpublic T visit(ObjectFieldAccess node)
visit in interface Visitor<T>node - the node to visitpublic T visit(StaticFieldAccess node)
visit in interface Visitor<T>node - the node to visitpublic T visit(SuperFieldAccess node)
visit in interface Visitor<T>node - the node to visitpublic T visit(ArrayAccess node)
visit in interface Visitor<T>node - the node to visitpublic T visit(ObjectMethodCall node)
visit in interface Visitor<T>node - the node to visitpublic T visit(SimpleMethodCall node)
visit in interface Visitor<T>node - the node to visitpublic T visit(StaticMethodCall node)
visit in interface Visitor<T>node - the node to visitpublic T visit(ConstructorCall node)
visit in interface Visitor<T>node - the node to visitpublic T visit(SuperMethodCall node)
visit in interface Visitor<T>node - the node to visitpublic T visit(BooleanTypeName node)
visit in interface Visitor<T>node - the node to visitpublic T visit(ByteTypeName node)
visit in interface Visitor<T>node - the node to visitpublic T visit(ShortTypeName node)
visit in interface Visitor<T>node - the node to visitpublic T visit(CharTypeName node)
visit in interface Visitor<T>node - the node to visitpublic T visit(IntTypeName node)
visit in interface Visitor<T>node - the node to visitpublic T visit(LongTypeName node)
visit in interface Visitor<T>node - the node to visitpublic T visit(FloatTypeName node)
visit in interface Visitor<T>node - the node to visitpublic T visit(DoubleTypeName node)
visit in interface Visitor<T>node - the node to visitpublic T visit(VoidTypeName node)
visit in interface Visitor<T>node - the node to visitpublic T visit(ReferenceTypeName node)
visit in interface Visitor<T>node - the node to visitpublic T visit(GenericReferenceTypeName node)
visit in interface Visitor<T>node - the node to visitpublic T visit(ArrayTypeName node)
visit in interface Visitor<T>node - the node to visitpublic T visit(HookTypeName node)
visit in interface Visitor<T>node - the node to visitpublic T visit(TypeExpression node)
visit in interface Visitor<T>node - the node to visitpublic T visit(PostIncrement node)
visit in interface Visitor<T>node - the node to visitpublic T visit(PostDecrement node)
visit in interface Visitor<T>node - the node to visitpublic T visit(PreIncrement node)
visit in interface Visitor<T>node - the node to visitpublic T visit(PreDecrement node)
visit in interface Visitor<T>node - the node to visitpublic T visit(ArrayInitializer node)
visit in interface Visitor<T>node - the node to visitpublic T visit(ArrayAllocation node)
visit in interface Visitor<T>node - the node to visitpublic T visit(SimpleAllocation node)
visit in interface Visitor<T>node - the node to visitpublic T visit(AnonymousAllocation node)
visit in interface Visitor<T>node - the node to visitpublic T visit(InnerAllocation node)
visit in interface Visitor<T>node - the node to visitpublic T visit(AnonymousInnerAllocation node)
visit in interface Visitor<T>node - the node to visitpublic T visit(CastExpression node)
visit in interface Visitor<T>node - the node to visitpublic T visit(NotExpression node)
visit in interface Visitor<T>node - the node to visitpublic T visit(ComplementExpression node)
visit in interface Visitor<T>node - the node to visitpublic T visit(PlusExpression node)
visit in interface Visitor<T>node - the node to visitpublic T visit(MinusExpression node)
visit in interface Visitor<T>node - the node to visitpublic T visit(MultiplyExpression node)
visit in interface Visitor<T>node - the node to visitpublic T visit(DivideExpression node)
visit in interface Visitor<T>node - the node to visitpublic T visit(RemainderExpression node)
visit in interface Visitor<T>node - the node to visitpublic T visit(AddExpression node)
visit in interface Visitor<T>node - the node to visitpublic T visit(SubtractExpression node)
visit in interface Visitor<T>node - the node to visitpublic T visit(ShiftLeftExpression node)
visit in interface Visitor<T>node - the node to visitpublic T visit(ShiftRightExpression node)
visit in interface Visitor<T>node - the node to visitpublic T visit(UnsignedShiftRightExpression node)
visit in interface Visitor<T>node - the node to visitpublic T visit(LessExpression node)
visit in interface Visitor<T>node - the node to visitpublic T visit(GreaterExpression node)
visit in interface Visitor<T>node - the node to visitpublic T visit(LessOrEqualExpression node)
visit in interface Visitor<T>node - the node to visitpublic T visit(GreaterOrEqualExpression node)
visit in interface Visitor<T>node - the node to visitpublic T visit(InstanceOfExpression node)
visit in interface Visitor<T>node - the node to visitpublic T visit(EqualExpression node)
visit in interface Visitor<T>node - the node to visitpublic T visit(NotEqualExpression node)
visit in interface Visitor<T>node - the node to visitpublic T visit(BitAndExpression node)
visit in interface Visitor<T>node - the node to visitpublic T visit(ExclusiveOrExpression node)
visit in interface Visitor<T>node - the node to visitpublic T visit(BitOrExpression node)
visit in interface Visitor<T>node - the node to visitpublic T visit(AndExpression node)
visit in interface Visitor<T>node - the node to visitpublic T visit(OrExpression node)
visit in interface Visitor<T>node - the node to visitpublic T visit(ConditionalExpression node)
visit in interface Visitor<T>node - the node to visitpublic T visit(SimpleAssignExpression node)
visit in interface Visitor<T>node - the node to visitpublic T visit(MultiplyAssignExpression node)
visit in interface Visitor<T>node - the node to visitpublic T visit(DivideAssignExpression node)
visit in interface Visitor<T>node - the node to visitpublic T visit(RemainderAssignExpression node)
visit in interface Visitor<T>node - the node to visitpublic T visit(AddAssignExpression node)
visit in interface Visitor<T>node - the node to visitpublic T visit(SubtractAssignExpression node)
visit in interface Visitor<T>node - the node to visitpublic T visit(ShiftLeftAssignExpression node)
visit in interface Visitor<T>node - the node to visitpublic T visit(ShiftRightAssignExpression node)
visit in interface Visitor<T>node - the node to visitpublic T visit(UnsignedShiftRightAssignExpression node)
visit in interface Visitor<T>node - the node to visitpublic T visit(BitAndAssignExpression node)
visit in interface Visitor<T>node - the node to visitpublic T visit(ExclusiveOrAssignExpression node)
visit in interface Visitor<T>node - the node to visitpublic T visit(BitOrAssignExpression node)
visit in interface Visitor<T>node - the node to visitpublic T visit(BlockStatement node)
visit in interface Visitor<T>node - the node to visitpublic T visit(ClassDeclaration node)
visit in interface Visitor<T>node - the node to visitpublic T visit(InterfaceDeclaration node)
visit in interface Visitor<T>node - the node to visitpublic T visit(ConstructorDeclaration node)
visit in interface Visitor<T>node - the node to visitpublic T visit(MethodDeclaration node)
visit in interface Visitor<T>node - the node to visitpublic T visit(FormalParameter node)
visit in interface Visitor<T>node - the node to visitpublic T visit(FieldDeclaration node)
visit in interface Visitor<T>node - the node to visitpublic T visit(VariableDeclaration node)
visit in interface Visitor<T>node - the node to visitpublic T visit(EnumDeclaration.EnumConstant node)
visit in interface Visitor<T>public T visit(ClassInitializer node)
visit in interface Visitor<T>node - the node to visitpublic T visit(InstanceInitializer node)
visit in interface Visitor<T>node - the node to visitpublic T visit(ModifierSet node)
visit in interface Visitor<T>public T visit(Annotation node)
visit in interface Visitor<T>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||