minijava.syntaxtree
Interface Node
- All Superinterfaces:
- java.io.Serializable
- All Known Subinterfaces:
- NodeListInterface
- All Known Implementing Classes:
- AllocationExpression, AndExpression, ArrayAllocationExpression, ArrayAssignmentStatement, ArrayLength, ArrayLookup, ArrayType, AssignmentStatement, Block, BooleanType, BracketExpression, ClassDeclaration, ClassExtendsDeclaration, CompareExpression, Expression, ExpressionList, ExpressionRest, FalseLiteral, FormalParameter, FormalParameterList, FormalParameterRest, Goal, Identifier, IfStatement, IntegerLiteral, IntegerType, MainClass, MessageSend, MethodDeclaration, MinusExpression, NodeChoice, NodeList, NodeListOptional, NodeOptional, NodeSequence, NodeToken, NotExpression, PlusExpression, PrimaryExpression, PrintStatement, Statement, ThisExpression, TimesExpression, TrueLiteral, Type, TypeDeclaration, VarDeclaration, WhileStatement
public interface Node
- extends java.io.Serializable
The interface which all syntax tree classes must implement.
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)