Package tip.node

Provides node classes for representing the TIP ASTs.

See:
          Description

Interface Summary
ITarget  
ITyped  
NodeFilter<T extends NodeInterface> NodeFilter defines an interface for filtering nodes.
NodeInterface  
 

Class Summary
ABinopExp ABinopExp represents the binop alternative of the exp production in the AST.
ABlock ABlock represents the alternative of the block production in the AST.
ABlockStm ABlockStm represents the block alternative of the stm production in the AST.
ABody ABody represents the alternative of the body production in the AST.
ADeclStm ADeclStm represents the decl alternative of the stm production in the AST.
ADerefExp ADerefExp represents the deref alternative of the exp production in the AST.
ADivideBinop ADivideBinop represents the divide alternative of the binop production in the AST.
AEqBinop AEqBinop represents the eq alternative of the binop production in the AST.
AFuncDecl AFuncDecl represents the func alternative of the decl production in the AST.
AFunctionCallExp AFunctionCallExp represents the function_call alternative of the exp production in the AST.
AFunctionPtrCallExp AFunctionPtrCallExp represents the function_ptr_call alternative of the exp production in the AST.
AGtBinop AGtBinop represents the gt alternative of the binop production in the AST.
AIfThenElseStm AIfThenElseStm represents the if_then_else alternative of the stm production in the AST.
AIfThenStm AIfThenStm represents the if_then alternative of the stm production in the AST.
AInputExp AInputExp represents the input alternative of the exp production in the AST.
AIntConstExp AIntConstExp represents the int_const alternative of the exp production in the AST.
ALocalDecl ALocalDecl represents the local alternative of the decl production in the AST.
AMallocExp AMallocExp represents the malloc alternative of the exp production in the AST.
AMinusBinop AMinusBinop represents the minus alternative of the binop production in the AST.
ANullExp ANullExp represents the null alternative of the exp production in the AST.
AOutputStm AOutputStm represents the output alternative of the stm production in the AST.
APlusBinop APlusBinop represents the plus alternative of the binop production in the AST.
APointerExp APointerExp represents the pointer alternative of the exp production in the AST.
AProgram AProgram represents the alternative of the program production in the AST.
AReturnStm AReturnStm represents the return alternative of the stm production in the AST.
ATimesBinop ATimesBinop represents the times alternative of the binop production in the AST.
AVarExp AVarExp represents the var alternative of the exp production in the AST.
AWhileStm AWhileStm represents the while alternative of the stm production in the AST.
EOF The EOF token represents the end-of-file marker from an input-file.
GuardedSubTypeFilter<T extends NodeInterface> GuardedSubTypeFilter implements the NodeFilter interface by accepting all nodes that are subtypes of the first class and guarding on all nodes that are subtypes of the second class given in the constructor.
Node Node is the superclass of all nodes in the AST.
NodeList<E extends Node> A list of AST nodes where all operations preserve the single-parent property of the AST.
PBinop PBinop is the super class of all binop classes.
PBlock PBlock is the super class of all block classes.
PBody PBody is the super class of all body classes.
PDecl PDecl is the super class of all decl classes.
PExp PExp is the super class of all exp classes.
PProgram PProgram is the super class of all program classes.
PStm PStm is the super class of all stm classes.
RoutingAutomaton<S extends Node,T extends Node>  
Start The Start node is the topmost node in the AST.
SubTypeFilter<T extends NodeInterface> SubTypeFilter implements the NodeFilter interface by accepting all nodes that are subtypes of the class given in the constructor and guarding on no nodes.
TAnd TAnd represents a '&' token from the input file.
TAssign TAssign represents a '=' token from the input file.
TComma TComma represents a ',' token from the input file.
TCommentBlock TCommentBlock represents a comment block token from the input file.
TCommentSingle TCommentSingle represents a comment single token from the input file.
TDiv TDiv represents a '/' token from the input file.
TElse TElse represents a 'else' token from the input file.
TEq TEq represents a '==' token from the input file.
TGt TGt represents a '>' token from the input file.
TIdentifier TIdentifier represents a identifier token from the input file.
TIf TIf represents a 'if' token from the input file.
TInput TInput represents a 'input' token from the input file.
TIntegerConst TIntegerConst represents a integer const token from the input file.
TLBrace TLBrace represents a '{' token from the input file.
TLPar TLPar represents a '(' token from the input file.
TMalloc TMalloc represents a 'malloc' token from the input file.
TMinus TMinus represents a '-' token from the input file.
TNull TNull represents a 'null' token from the input file.
Token Token is the superclass of all tokens is the AST.
TOutput TOutput represents a 'output' token from the input file.
TPlus TPlus represents a '+' token from the input file.
TRBrace TRBrace represents a '}' token from the input file.
TReturn TReturn represents a 'return' token from the input file.
TRPar TRPar represents a ')' token from the input file.
TSemicolon TSemicolon represents a ';' token from the input file.
TStar TStar represents a '*' token from the input file.
TVar TVar represents a 'var' token from the input file.
TWhile TWhile represents a 'while' token from the input file.
TWhiteSpace TWhiteSpace represents a white space token from the input file.
AAssignPtrStm AAssignPtrStm represents the assign_ptr alternative of the stm production in the AST.
AAssignVarStm AAssignVarStm represents the assign_var alternative of the stm production in the AST.
 

Enum Summary
EBinop  
EDecl  
EExp  
EStm  
NodeEnum  
RoutingSymbol  
TokenEnum  
 

Exception Summary
TreeInvariantException  
 

Package tip.node Description

Provides node classes for representing the TIP ASTs.