Package jtb.visitor
Class DepthFirstVisitor
- Object
-
- DepthFirstVisitor
-
- All Implemented Interfaces:
Visitor
- Direct Known Subclasses:
AnnotateVisitor
,ClassOrInterfaceTypeDecorateVisitor
,InsertCommentFormatter
,InstrumentVisitor
,OrigModifier
,TestAst.ClassOrInterfaceDeclarationHarvester
,TestAst.MethodDeclarationHarvester
,TestClassOrInterfaceTypeDecorateVisitor.UngenerifiedTypeCollector
,TreeDumper
,TreeFormatter
public class DepthFirstVisitor extends Object implements Visitor
Provides default methods which visit each node in the tree in depth-first order. Your visitors may extend this class.
-
-
Constructor Summary
Constructors Constructor Description DepthFirstVisitor()
-
Method Summary
-
-
-
Constructor Detail
-
DepthFirstVisitor
public DepthFirstVisitor()
-
-
Method Detail
-
visit
public void visit(NodeListOptional n)
-
visit
public void visit(NodeOptional n)
-
visit
public void visit(NodeChoice n)
-
visit
public void visit(NodeSequence n)
-
visit
public void visit(CompilationUnit n)
-
visit
public void visit(PackageDeclaration n)
-
visit
public void visit(ImportDeclaration n)
-
visit
public void visit(TypeDeclaration n)
-
visit
public void visit(ClassOrInterfaceDeclaration n)
-
visit
public void visit(ExtendsList n)
-
visit
public void visit(ImplementsList n)
-
visit
public void visit(EnumDeclaration n)
-
visit
public void visit(EnumConstant n)
-
visit
public void visit(TypeParameters n)
-
visit
public void visit(TypeParameter n)
-
visit
public void visit(ClassOrInterfaceBody n)
-
visit
public void visit(ClassOrInterfaceBodyDeclaration n)
-
visit
public void visit(FieldDeclaration n)
-
visit
public void visit(VariableDeclarator n)
-
visit
public void visit(VariableDeclaratorId n)
-
visit
public void visit(VariableInitializer n)
-
visit
public void visit(ArrayInitializer n)
-
visit
public void visit(MethodDeclaration n)
-
visit
public void visit(MethodDeclarator n)
-
visit
public void visit(FormalParameters n)
-
visit
public void visit(FormalParameter n)
-
visit
public void visit(ConstructorDeclaration n)
-
visit
public void visit(ExplicitConstructorInvocation n)
-
visit
public void visit(Initializer n)
-
visit
public void visit(ReferenceType n)
-
visit
public void visit(ClassOrInterfaceType n)
-
visit
public void visit(TypeArguments n)
-
visit
public void visit(TypeArgument n)
-
visit
public void visit(WildcardBounds n)
-
visit
public void visit(PrimitiveType n)
-
visit
public void visit(ResultType n)
-
visit
public void visit(Expression n)
-
visit
public void visit(AssignmentOperator n)
-
visit
public void visit(ConditionalExpression n)
-
visit
public void visit(ConditionalOrExpression n)
-
visit
public void visit(ConditionalAndExpression n)
-
visit
public void visit(InclusiveOrExpression n)
-
visit
public void visit(ExclusiveOrExpression n)
-
visit
public void visit(AndExpression n)
-
visit
public void visit(EqualityExpression n)
-
visit
public void visit(InstanceOfExpression n)
-
visit
public void visit(RelationalExpression n)
-
visit
public void visit(ShiftExpression n)
-
visit
public void visit(AdditiveExpression n)
-
visit
public void visit(MultiplicativeExpression n)
-
visit
public void visit(UnaryExpression n)
-
visit
public void visit(PreIncrementExpression n)
-
visit
public void visit(PreDecrementExpression n)
-
visit
public void visit(UnaryExpressionNotPlusMinus n)
-
visit
public void visit(CastLookahead n)
-
visit
public void visit(PostfixExpression n)
-
visit
public void visit(CastExpression n)
-
visit
public void visit(PrimaryExpression n)
-
visit
public void visit(MemberSelector n)
-
visit
public void visit(PrimaryPrefix n)
-
visit
public void visit(PrimarySuffix n)
-
visit
public void visit(BooleanLiteral n)
-
visit
public void visit(NullLiteral n)
-
visit
public void visit(ArgumentList n)
-
visit
public void visit(AllocationExpression n)
-
visit
public void visit(ArrayDimsAndInits n)
-
visit
public void visit(AssertStatement n)
-
visit
public void visit(LabeledStatement n)
-
visit
public void visit(BlockStatement n)
-
visit
public void visit(LocalVariableDeclaration n)
-
visit
public void visit(EmptyStatement n)
-
visit
public void visit(StatementExpression n)
-
visit
public void visit(SwitchStatement n)
-
visit
public void visit(SwitchLabel n)
-
visit
public void visit(IfStatement n)
-
visit
public void visit(WhileStatement n)
-
visit
public void visit(DoStatement n)
-
visit
public void visit(ForStatement n)
-
visit
public void visit(StatementExpressionList n)
-
visit
public void visit(BreakStatement n)
-
visit
public void visit(ContinueStatement n)
-
visit
public void visit(ReturnStatement n)
-
visit
public void visit(ThrowStatement n)
-
visit
public void visit(SynchronizedStatement n)
-
visit
public void visit(TryStatement n)
-
visit
public void visit(RUNSIGNEDSHIFT n)
-
visit
public void visit(RSIGNEDSHIFT n)
-
visit
public void visit(Annotation n)
-
visit
public void visit(NormalAnnotation n)
-
visit
public void visit(MarkerAnnotation n)
-
visit
public void visit(SingleMemberAnnotation n)
-
visit
public void visit(MemberValuePairs n)
-
visit
public void visit(MemberValuePair n)
-
visit
public void visit(MemberValue n)
-
visit
public void visit(MemberValueArrayInitializer n)
-
visit
public void visit(AnnotationTypeDeclaration n)
-
visit
public void visit(AnnotationTypeBody n)
-
visit
public void visit(AnnotationTypeMemberDeclaration n)
-
visit
public void visit(DefaultValue n)
-
-