org.tromer.jie.syntaxtree
Interface Node

All Known Subinterfaces:
NodeListInterface
All Known Implementing Classes:
ArgumentList, Block, BooleanLiteral, BreakStatement, CastExpression, CastLookahead, ClassBody, ClassDeclaration, CompilationUnit, ConditionalAndExpression, ConditionalAndExpressionWrapper, ConditionalExpression, ContinueStatement, EmptyStatement, EqualityExpression, ExplicitConstructorInvocation, FieldDeclaration, IfStatement, ImportDeclaration, Initializer, LabeledStatement, LocalVariableDeclaration, MethodDeclaration, MethodDeclarationLookahead, MultiplicativeExpression, NameList, NestedClassDeclaration, NestedInterfaceDeclaration, NodeChoice, NodeOptional, NodeToken, NullLiteral, PackageDeclaration, PostfixExpression, PrimaryExpression, PrimaryPrefix, PrimarySuffix, ResultType, StatementExpression, StatementExpressionList, SwitchStatement, TopBlock, TopBlockStatements, TypeDeclaration, UnaryExpression, UnmodifiedClassDeclaration, UnmodifiedInterfaceDeclaration, VariableDeclarator, VariableDeclaratorId, VariableInitializer, WhileStatement, AssignmentOperator, SwitchLabel, AdditiveExpression, PreIncrementExpression, ArrayDimsAndInits, AndExpression, PrimitiveType, InclusiveOrExpression, InterfaceMemberDeclaration, ForUpdate, SynchronizedStatement, Arguments, ShiftExpression, InterfaceDeclaration, Name, ClassBodyDeclaration, PreDecrementExpression, Expression, FormalParameter, BlockStatement, AllocationExpression, MethodDeclarator, DoStatement, ForStatement, InstanceOfExpression, ReturnStatement, Statement, ThrowStatement, TryStatement, UnaryExpressionNotPlusMinus, ConstructorDeclaration, FormalParameters, RelationalExpression, ForInit, Literal, ExclusiveOrExpression, ArrayInitializer, Type, ConditionalOrExpression

public interface Node
extends java.io.Serializable

The interface which all syntax tree classes must implement.


Method Summary
 java.lang.Object accept(ObjectVisitor v, java.lang.Object argu)
           
 void accept(Visitor v)
           
 Node getParent()
           
 void setParent(Node n)
           
 

Method Detail

accept

public void accept(Visitor v)

accept

public java.lang.Object accept(ObjectVisitor v,
                               java.lang.Object argu)

setParent

public void setParent(Node n)

getParent

public Node getParent()