Uses of Interface
tip.node.NodeInterface

Packages that use NodeInterface
tip.node Provides node classes for representing the TIP ASTs. 
 

Uses of NodeInterface in tip.node
 

Classes in tip.node with type parameters of type NodeInterface
 class 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.
 interface NodeFilter<T extends NodeInterface>
          NodeFilter defines an interface for filtering nodes.
 class 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.
 

Subinterfaces of NodeInterface in tip.node
 interface ITarget
           
 interface ITyped
           
 

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

Methods in tip.node with type parameters of type NodeInterface
<T extends NodeInterface>
T
NodeInterface.getAncestor(Class<T> classType)
          Returns the nearest ancestor of this node (including itself) which is a subclass of classType.
<T extends NodeInterface>
T
Node.getAncestor(Class<T> classType)
          Returns the nearest ancestor of this node (including itself) which is a subclass of classType.
<T extends NodeInterface>
T
NodeInterface.getAncestor(Class<T> classType, Class<? extends NodeInterface> guardClass)
          Returns the nearest ancestor of this node (including itself) which is a subclass of classType.
<T extends NodeInterface>
T
Node.getAncestor(Class<T> classType, Class<? extends NodeInterface> guardClass)
          Returns the nearest ancestor of this node (including itself) which is a subclass of classType.
<T extends NodeInterface>
T
NodeInterface.getAncestor(NodeFilter<T> filter)
          Returns the nearest ancestor of this node (including itself) which is accepted by the NodeFilter filter.
<T extends NodeInterface>
T
Node.getAncestor(NodeFilter<T> filter)
          Returns the nearest ancestor of this node (including itself) which is accepted by the NodeFilter filter.
<T extends NodeInterface>
List<T>
NodeInterface.getChildren(Class<T> classType)
          Returns the collection of children to this node which are subtypes of classType.
<T extends NodeInterface>
List<T>
Node.getChildren(Class<T> classType)
          Returns the collection of children to this node which are subtypes of classType.
<T extends NodeInterface>
void
Token.getChildren(Collection<T> collection, NodeFilter<T> filter)
          Adds all children of this Token node that are accepted by the NodeFilter filter to collection.
<T extends NodeInterface>
void
Start.getChildren(Collection<T> collection, NodeFilter<T> filter)
          Adds all children of this Start node that are accepted by the NodeFilter filter to collection.
<T extends NodeInterface>
void
NodeInterface.getChildren(Collection<T> collection, NodeFilter<T> filter)
          Adds all children of this NodeInterface node that are accepted by the NodeFilter filter to collection.
abstract
<T extends NodeInterface>
void
Node.getChildren(Collection<T> collection, NodeFilter<T> filter)
          Adds all children of this Node node that are accepted by the NodeFilter filter to collection.
<T extends NodeInterface>
void
AWhileStm.getChildren(Collection<T> collection, NodeFilter<T> filter)
          Adds all children of this AWhileStm node that are accepted by the NodeFilter filter to collection.
<T extends NodeInterface>
void
AVarExp.getChildren(Collection<T> collection, NodeFilter<T> filter)
          Adds all children of this AVarExp node that are accepted by the NodeFilter filter to collection.
<T extends NodeInterface>
void
ATimesBinop.getChildren(Collection<T> collection, NodeFilter<T> filter)
          Adds all children of this ATimesBinop node that are accepted by the NodeFilter filter to collection.
<T extends NodeInterface>
void
AReturnStm.getChildren(Collection<T> collection, NodeFilter<T> filter)
          Adds all children of this AReturnStm node that are accepted by the NodeFilter filter to collection.
<T extends NodeInterface>
void
AProgram.getChildren(Collection<T> collection, NodeFilter<T> filter)
          Adds all children of this AProgram node that are accepted by the NodeFilter filter to collection.
<T extends NodeInterface>
void
APointerExp.getChildren(Collection<T> collection, NodeFilter<T> filter)
          Adds all children of this APointerExp node that are accepted by the NodeFilter filter to collection.
<T extends NodeInterface>
void
APlusBinop.getChildren(Collection<T> collection, NodeFilter<T> filter)
          Adds all children of this APlusBinop node that are accepted by the NodeFilter filter to collection.
<T extends NodeInterface>
void
AOutputStm.getChildren(Collection<T> collection, NodeFilter<T> filter)
          Adds all children of this AOutputStm node that are accepted by the NodeFilter filter to collection.
<T extends NodeInterface>
void
ANullExp.getChildren(Collection<T> collection, NodeFilter<T> filter)
          Adds all children of this ANullExp node that are accepted by the NodeFilter filter to collection.
<T extends NodeInterface>
void
AMinusBinop.getChildren(Collection<T> collection, NodeFilter<T> filter)
          Adds all children of this AMinusBinop node that are accepted by the NodeFilter filter to collection.
<T extends NodeInterface>
void
AMallocExp.getChildren(Collection<T> collection, NodeFilter<T> filter)
          Adds all children of this AMallocExp node that are accepted by the NodeFilter filter to collection.
<T extends NodeInterface>
void
ALocalDecl.getChildren(Collection<T> collection, NodeFilter<T> filter)
          Adds all children of this ALocalDecl node that are accepted by the NodeFilter filter to collection.
<T extends NodeInterface>
void
AIntConstExp.getChildren(Collection<T> collection, NodeFilter<T> filter)
          Adds all children of this AIntConstExp node that are accepted by the NodeFilter filter to collection.
<T extends NodeInterface>
void
AInputExp.getChildren(Collection<T> collection, NodeFilter<T> filter)
          Adds all children of this AInputExp node that are accepted by the NodeFilter filter to collection.
<T extends NodeInterface>
void
AIfThenStm.getChildren(Collection<T> collection, NodeFilter<T> filter)
          Adds all children of this AIfThenStm node that are accepted by the NodeFilter filter to collection.
<T extends NodeInterface>
void
AIfThenElseStm.getChildren(Collection<T> collection, NodeFilter<T> filter)
          Adds all children of this AIfThenElseStm node that are accepted by the NodeFilter filter to collection.
<T extends NodeInterface>
void
AGtBinop.getChildren(Collection<T> collection, NodeFilter<T> filter)
          Adds all children of this AGtBinop node that are accepted by the NodeFilter filter to collection.
<T extends NodeInterface>
void
AFunctionPtrCallExp.getChildren(Collection<T> collection, NodeFilter<T> filter)
          Adds all children of this AFunctionPtrCallExp node that are accepted by the NodeFilter filter to collection.
<T extends NodeInterface>
void
AFunctionCallExp.getChildren(Collection<T> collection, NodeFilter<T> filter)
          Adds all children of this AFunctionCallExp node that are accepted by the NodeFilter filter to collection.
<T extends NodeInterface>
void
AFuncDecl.getChildren(Collection<T> collection, NodeFilter<T> filter)
          Adds all children of this AFuncDecl node that are accepted by the NodeFilter filter to collection.
<T extends NodeInterface>
void
AEqBinop.getChildren(Collection<T> collection, NodeFilter<T> filter)
          Adds all children of this AEqBinop node that are accepted by the NodeFilter filter to collection.
<T extends NodeInterface>
void
ADivideBinop.getChildren(Collection<T> collection, NodeFilter<T> filter)
          Adds all children of this ADivideBinop node that are accepted by the NodeFilter filter to collection.
<T extends NodeInterface>
void
ADerefExp.getChildren(Collection<T> collection, NodeFilter<T> filter)
          Adds all children of this ADerefExp node that are accepted by the NodeFilter filter to collection.
<T extends NodeInterface>
void
ADeclStm.getChildren(Collection<T> collection, NodeFilter<T> filter)
          Adds all children of this ADeclStm node that are accepted by the NodeFilter filter to collection.
<T extends NodeInterface>
void
ABody.getChildren(Collection<T> collection, NodeFilter<T> filter)
          Adds all children of this ABody node that are accepted by the NodeFilter filter to collection.
<T extends NodeInterface>
void
ABlockStm.getChildren(Collection<T> collection, NodeFilter<T> filter)
          Adds all children of this ABlockStm node that are accepted by the NodeFilter filter to collection.
<T extends NodeInterface>
void
ABlock.getChildren(Collection<T> collection, NodeFilter<T> filter)
          Adds all children of this ABlock node that are accepted by the NodeFilter filter to collection.
<T extends NodeInterface>
void
ABinopExp.getChildren(Collection<T> collection, NodeFilter<T> filter)
          Adds all children of this ABinopExp node that are accepted by the NodeFilter filter to collection.
<T extends NodeInterface>
void
AAssignVarStm.getChildren(Collection<T> collection, NodeFilter<T> filter)
          Adds all children of this AAssignVarStm node that are accepted by the NodeFilter filter to collection.
<T extends NodeInterface>
void
AAssignPtrStm.getChildren(Collection<T> collection, NodeFilter<T> filter)
          Adds all children of this AAssignPtrStm node that are accepted by the NodeFilter filter to collection.
<T extends NodeInterface>
List<T>
NodeInterface.getChildren(NodeFilter<T> filter)
          Returns the collection of children to this node which are accepted by the NodeFilter filter.
<T extends NodeInterface>
List<T>
Node.getChildren(NodeFilter<T> filter)
          Returns the collection of children to this node which are accepted by the NodeFilter filter.
<T extends NodeInterface>
Collection<T>
NodeInterface.getDescendants(Class<T> classType)
          Returns the collection of descendants to this node (including itself) which are subtypes of classType.
<T extends NodeInterface>
Collection<T>
Node.getDescendants(Class<T> classType)
          Returns the collection of descendants to this node (including itself) which are subtypes of classType.
<T extends NodeInterface>
Collection<T>
NodeInterface.getDescendants(Class<T> classType, Class<? extends NodeInterface> guardClass)
          Returns the collection of descendants to this node (including itself) which are subtypes of classType.
<T extends NodeInterface>
Collection<T>
Node.getDescendants(Class<T> classType, Class<? extends NodeInterface> guardClass)
          Returns the collection of descendants to this node (including itself) which are subtypes of classType.
<T extends NodeInterface>
void
Token.getDescendants(Collection<T> collection, NodeFilter<T> filter)
          Adds all descendants of this Token node (including the node itself) that are accepted by the NodeFilter filter to collection.
<T extends NodeInterface>
void
Start.getDescendants(Collection<T> collection, NodeFilter<T> filter)
          Adds all descendants of this Start node (including the node itself) that are accepted by the NodeFilter filter to collection.
<T extends NodeInterface>
void
NodeInterface.getDescendants(Collection<T> collection, NodeFilter<T> filter)
          Adds all descendants of this NodeInterface node (including the node itself) that are accepted by the NodeFilter filter to collection.
abstract
<T extends NodeInterface>
void
Node.getDescendants(Collection<T> collection, NodeFilter<T> filter)
          Adds all descendants of this Node node (including the node itself) that are accepted by the NodeFilter filter to collection.
<T extends NodeInterface>
void
AWhileStm.getDescendants(Collection<T> collection, NodeFilter<T> filter)
          Adds all descendants of this AWhileStm node (including the node itself) that are accepted by the NodeFilter filter to collection.
<T extends NodeInterface>
void
AVarExp.getDescendants(Collection<T> collection, NodeFilter<T> filter)
          Adds all descendants of this AVarExp node (including the node itself) that are accepted by the NodeFilter filter to collection.
<T extends NodeInterface>
void
ATimesBinop.getDescendants(Collection<T> collection, NodeFilter<T> filter)
          Adds all descendants of this ATimesBinop node (including the node itself) that are accepted by the NodeFilter filter to collection.
<T extends NodeInterface>
void
AReturnStm.getDescendants(Collection<T> collection, NodeFilter<T> filter)
          Adds all descendants of this AReturnStm node (including the node itself) that are accepted by the NodeFilter filter to collection.
<T extends NodeInterface>
void
AProgram.getDescendants(Collection<T> collection, NodeFilter<T> filter)
          Adds all descendants of this AProgram node (including the node itself) that are accepted by the NodeFilter filter to collection.
<T extends NodeInterface>
void
APointerExp.getDescendants(Collection<T> collection, NodeFilter<T> filter)
          Adds all descendants of this APointerExp node (including the node itself) that are accepted by the NodeFilter filter to collection.
<T extends NodeInterface>
void
APlusBinop.getDescendants(Collection<T> collection, NodeFilter<T> filter)
          Adds all descendants of this APlusBinop node (including the node itself) that are accepted by the NodeFilter filter to collection.
<T extends NodeInterface>
void
AOutputStm.getDescendants(Collection<T> collection, NodeFilter<T> filter)
          Adds all descendants of this AOutputStm node (including the node itself) that are accepted by the NodeFilter filter to collection.
<T extends NodeInterface>
void
ANullExp.getDescendants(Collection<T> collection, NodeFilter<T> filter)
          Adds all descendants of this ANullExp node (including the node itself) that are accepted by the NodeFilter filter to collection.
<T extends NodeInterface>
void
AMinusBinop.getDescendants(Collection<T> collection, NodeFilter<T> filter)
          Adds all descendants of this AMinusBinop node (including the node itself) that are accepted by the NodeFilter filter to collection.
<T extends NodeInterface>
void
AMallocExp.getDescendants(Collection<T> collection, NodeFilter<T> filter)
          Adds all descendants of this AMallocExp node (including the node itself) that are accepted by the NodeFilter filter to collection.
<T extends NodeInterface>
void
ALocalDecl.getDescendants(Collection<T> collection, NodeFilter<T> filter)
          Adds all descendants of this ALocalDecl node (including the node itself) that are accepted by the NodeFilter filter to collection.
<T extends NodeInterface>
void
AIntConstExp.getDescendants(Collection<T> collection, NodeFilter<T> filter)
          Adds all descendants of this AIntConstExp node (including the node itself) that are accepted by the NodeFilter filter to collection.
<T extends NodeInterface>
void
AInputExp.getDescendants(Collection<T> collection, NodeFilter<T> filter)
          Adds all descendants of this AInputExp node (including the node itself) that are accepted by the NodeFilter filter to collection.
<T extends NodeInterface>
void
AIfThenStm.getDescendants(Collection<T> collection, NodeFilter<T> filter)
          Adds all descendants of this AIfThenStm node (including the node itself) that are accepted by the NodeFilter filter to collection.
<T extends NodeInterface>
void
AIfThenElseStm.getDescendants(Collection<T> collection, NodeFilter<T> filter)
          Adds all descendants of this AIfThenElseStm node (including the node itself) that are accepted by the NodeFilter filter to collection.
<T extends NodeInterface>
void
AGtBinop.getDescendants(Collection<T> collection, NodeFilter<T> filter)
          Adds all descendants of this AGtBinop node (including the node itself) that are accepted by the NodeFilter filter to collection.
<T extends NodeInterface>
void
AFunctionPtrCallExp.getDescendants(Collection<T> collection, NodeFilter<T> filter)
          Adds all descendants of this AFunctionPtrCallExp node (including the node itself) that are accepted by the NodeFilter filter to collection.
<T extends NodeInterface>
void
AFunctionCallExp.getDescendants(Collection<T> collection, NodeFilter<T> filter)
          Adds all descendants of this AFunctionCallExp node (including the node itself) that are accepted by the NodeFilter filter to collection.
<T extends NodeInterface>
void
AFuncDecl.getDescendants(Collection<T> collection, NodeFilter<T> filter)
          Adds all descendants of this AFuncDecl node (including the node itself) that are accepted by the NodeFilter filter to collection.
<T extends NodeInterface>
void
AEqBinop.getDescendants(Collection<T> collection, NodeFilter<T> filter)
          Adds all descendants of this AEqBinop node (including the node itself) that are accepted by the NodeFilter filter to collection.
<T extends NodeInterface>
void
ADivideBinop.getDescendants(Collection<T> collection, NodeFilter<T> filter)
          Adds all descendants of this ADivideBinop node (including the node itself) that are accepted by the NodeFilter filter to collection.
<T extends NodeInterface>
void
ADerefExp.getDescendants(Collection<T> collection, NodeFilter<T> filter)
          Adds all descendants of this ADerefExp node (including the node itself) that are accepted by the NodeFilter filter to collection.
<T extends NodeInterface>
void
ADeclStm.getDescendants(Collection<T> collection, NodeFilter<T> filter)
          Adds all descendants of this ADeclStm node (including the node itself) that are accepted by the NodeFilter filter to collection.
<T extends NodeInterface>
void
ABody.getDescendants(Collection<T> collection, NodeFilter<T> filter)
          Adds all descendants of this ABody node (including the node itself) that are accepted by the NodeFilter filter to collection.
<T extends NodeInterface>
void
ABlockStm.getDescendants(Collection<T> collection, NodeFilter<T> filter)
          Adds all descendants of this ABlockStm node (including the node itself) that are accepted by the NodeFilter filter to collection.
<T extends NodeInterface>
void
ABlock.getDescendants(Collection<T> collection, NodeFilter<T> filter)
          Adds all descendants of this ABlock node (including the node itself) that are accepted by the NodeFilter filter to collection.
<T extends NodeInterface>
void
ABinopExp.getDescendants(Collection<T> collection, NodeFilter<T> filter)
          Adds all descendants of this ABinopExp node (including the node itself) that are accepted by the NodeFilter filter to collection.
<T extends NodeInterface>
void
AAssignVarStm.getDescendants(Collection<T> collection, NodeFilter<T> filter)
          Adds all descendants of this AAssignVarStm node (including the node itself) that are accepted by the NodeFilter filter to collection.
<T extends NodeInterface>
void
AAssignPtrStm.getDescendants(Collection<T> collection, NodeFilter<T> filter)
          Adds all descendants of this AAssignPtrStm node (including the node itself) that are accepted by the NodeFilter filter to collection.
<T extends NodeInterface>
Collection<T>
NodeInterface.getDescendants(NodeFilter<T> filter)
          Returns the collection of descendants to this node (including the node itself) which are accepted by the NodeFilter filter.
<T extends NodeInterface>
Collection<T>
Node.getDescendants(NodeFilter<T> filter)
          Returns the collection of descendants to this node (including the node itself) which are accepted by the NodeFilter filter.
 

Method parameters in tip.node with type arguments of type NodeInterface
<T extends NodeInterface>
T
NodeInterface.getAncestor(Class<T> classType, Class<? extends NodeInterface> guardClass)
          Returns the nearest ancestor of this node (including itself) which is a subclass of classType.
<T extends NodeInterface>
T
Node.getAncestor(Class<T> classType, Class<? extends NodeInterface> guardClass)
          Returns the nearest ancestor of this node (including itself) which is a subclass of classType.
<T extends NodeInterface>
Collection<T>
NodeInterface.getDescendants(Class<T> classType, Class<? extends NodeInterface> guardClass)
          Returns the collection of descendants to this node (including itself) which are subtypes of classType.
<T extends NodeInterface>
Collection<T>
Node.getDescendants(Class<T> classType, Class<? extends NodeInterface> guardClass)
          Returns the collection of descendants to this node (including itself) which are subtypes of classType.
 

Constructor parameters in tip.node with type arguments of type NodeInterface
GuardedSubTypeFilter(Class<T> classT, Class<? extends NodeInterface> guardClass)
          Creates a SubTypeFilter using subtype relation of classT as filtering criterion and subtype relation of guardClass as guarding criterion.