Package jtb.cparser.visitor
Class DepthFirstVisitor
- Object
-
- DepthFirstVisitor
-
- All Implemented Interfaces:
Visitor
- Direct Known Subclasses:
ConditionPrinter
,Converter
,Printer
,StringFinder
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(NodeSequence n)
-
visit
public void visit(TranslationUnit n)
-
visit
public void visit(ExternalDeclaration n)
-
visit
public void visit(FunctionDefinition n)
-
visit
public void visit(Declaration n)
-
visit
public void visit(DeclarationList n)
-
visit
public void visit(DeclarationSpecifiers n)
-
visit
public void visit(StorageClassSpecifier n)
-
visit
public void visit(TypeSpecifier n)
-
visit
public void visit(TypeQualifier n)
-
visit
public void visit(StructOrUnionSpecifier n)
-
visit
public void visit(StructOrUnion n)
-
visit
public void visit(StructDeclarationList n)
-
visit
public void visit(InitDeclaratorList n)
-
visit
public void visit(InitDeclarator n)
-
visit
public void visit(StructDeclaration n)
-
visit
public void visit(SpecifierQualifierList n)
-
visit
public void visit(StructDeclaratorList n)
-
visit
public void visit(StructDeclarator n)
-
visit
public void visit(EnumSpecifier n)
-
visit
public void visit(EnumeratorList n)
-
visit
public void visit(Enumerator n)
-
visit
public void visit(Declarator n)
-
visit
public void visit(DirectDeclarator n)
-
visit
public void visit(TypeQualifierList n)
-
visit
public void visit(ParameterTypeList n)
-
visit
public void visit(ParameterList n)
-
visit
public void visit(ParameterDeclaration n)
-
visit
public void visit(IdentifierList n)
-
visit
public void visit(Initializer n)
-
visit
public void visit(InitializerList n)
-
visit
public void visit(AbstractDeclarator n)
-
visit
public void visit(DirectAbstractDeclarator n)
-
visit
public void visit(TypedefName n)
-
visit
public void visit(LabeledStatement n)
-
visit
public void visit(ExpressionStatement n)
-
visit
public void visit(CompoundStatement n)
-
visit
public void visit(StatementList n)
-
visit
public void visit(SelectionStatement n)
-
visit
public void visit(IterationStatement n)
-
visit
public void visit(JumpStatement n)
-
visit
public void visit(Expression n)
-
visit
public void visit(AssignmentExpression n)
-
visit
public void visit(AssignmentOperator n)
-
visit
public void visit(ConditionalExpression n)
-
visit
public void visit(ConstantExpression n)
-
visit
public void visit(LogicalORExpression n)
-
visit
public void visit(LogicalANDExpression 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(RelationalExpression n)
-
visit
public void visit(ShiftExpression n)
-
visit
public void visit(AdditiveExpression n)
-
visit
public void visit(MultiplicativeExpression n)
-
visit
public void visit(CastExpression n)
-
visit
public void visit(UnaryExpression n)
-
visit
public void visit(UnaryOperator n)
-
visit
public void visit(PostfixExpression n)
-
visit
public void visit(PrimaryExpression n)
-
visit
public void visit(ArgumentExpressionList n)
-
-