jtb.syntaxtree
Interface Node

All Superinterfaces:
Serializable
All Known Subinterfaces:
NodeListInterface
All Known Implementing Classes:
AdditiveExpression, AllocationExpression, AndExpression, Annotation, AnnotationTypeBody, AnnotationTypeDeclaration, AnnotationTypeMemberDeclaration, ArgumentList, Arguments, ArrayDimsAndInits, ArrayInitializer, AssertStatement, AssignmentOperator, Block, BlockStatement, BooleanLiteral, BreakStatement, CastExpression, CastLookahead, ClassOrInterfaceBody, ClassOrInterfaceBodyDeclaration, ClassOrInterfaceDeclaration, ClassOrInterfaceType, CompilationUnit, ConditionalAndExpression, ConditionalExpression, ConditionalOrExpression, ConstructorDeclaration, ContinueStatement, DefaultValue, DoStatement, EmptyStatement, EnumBody, EnumConstant, EnumDeclaration, EqualityExpression, ExclusiveOrExpression, ExplicitConstructorInvocation, Expression, ExtendsList, FieldDeclaration, ForInit, FormalParameter, FormalParameters, ForStatement, ForUpdate, IfStatement, ImplementsList, ImportDeclaration, InclusiveOrExpression, Initializer, InstanceOfExpression, LabeledStatement, Literal, LocalVariableDeclaration, MarkerAnnotation, MemberSelector, MemberValue, MemberValueArrayInitializer, MemberValuePair, MemberValuePairs, MethodDeclaration, MethodDeclarator, Modifiers, MultiplicativeExpression, Name, NameList, NodeChoice, NodeList, NodeListOptional, NodeOptional, NodeSequence, NodeToken, NormalAnnotation, NullLiteral, PackageDeclaration, PostfixExpression, PreDecrementExpression, PreIncrementExpression, PrimaryExpression, PrimaryPrefix, PrimarySuffix, PrimitiveType, ReferenceType, RelationalExpression, ResultType, ReturnStatement, RSIGNEDSHIFT, RUNSIGNEDSHIFT, ShiftExpression, SingleMemberAnnotation, Statement, StatementExpression, StatementExpressionList, SwitchLabel, SwitchStatement, SynchronizedStatement, ThrowStatement, TryStatement, Type, TypeArgument, TypeArguments, TypeBound, TypeDeclaration, TypeParameter, TypeParameters, UnaryExpression, UnaryExpressionNotPlusMinus, VariableDeclarator, VariableDeclaratorId, VariableInitializer, WhileStatement, WildcardBounds

public interface Node
extends Serializable

The interface which all syntax tree classes must implement.


Method Summary
<R> R
accept(GJNoArguVisitor<R> v)
           
<R,A> R
accept(GJVisitor<R,A> v, A argu)
           
<A> void
accept(GJVoidVisitor<A> v, A argu)
           
 void accept(Visitor v)
           
 Node getParent()
           
 void setParent(Node n)
           
 

Method Detail

accept

void accept(Visitor v)

accept

<R,A> R accept(GJVisitor<R,A> v,
               A argu)

accept

<R> R accept(GJNoArguVisitor<R> v)

accept

<A> void accept(GJVoidVisitor<A> v,
                A argu)

setParent

void setParent(Node n)

getParent

Node getParent()