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