|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use PStm | |
---|---|
tip.analysis | Provides the analysis utility classes for the TIP ASTs. |
tip.node | Provides node classes for representing the TIP ASTs. |
Uses of PStm in tip.analysis |
---|
Methods in tip.analysis with parameters of type PStm | |
---|---|
void |
ReversedDepthFirstAdapter.defaultInPStm(PStm node)
Default case for in -calls from PStm nodes. |
void |
DepthFirstAdapter.defaultInPStm(PStm node)
Default case for in -calls from PStm nodes. |
void |
ReversedDepthFirstAdapter.defaultOutPStm(PStm node)
Default case for out -calls from PStm nodes. |
void |
DepthFirstAdapter.defaultOutPStm(PStm node)
Default case for out -calls from PStm nodes. |
void |
ReversedDepthFirstAdapter.defaultPStm(PStm node)
Not invoked since #casePStm(PStm) is overridden. |
void |
DepthFirstAdapter.defaultPStm(PStm node)
Not invoked since #casePStm(PStm) is overridden. |
A |
AnswerAdapter.defaultPStm(PStm node)
Returns the default answer for a PStm node. |
void |
AnalysisAdapter.defaultPStm(PStm node)
Base case for all PStm nodes. |
A |
QuestionAnswerAdapter.defaultPStm(PStm node,
Q question)
Returns the default answer for a PStm node. |
void |
QuestionAdapter.defaultPStm(PStm node,
Q question)
Action for applying a question to a PStm node. |
Uses of PStm in tip.node |
---|
Subclasses of PStm in tip.node | |
---|---|
class |
ABlockStm
ABlockStm represents the block alternative of the stm production in the AST. |
class |
ADeclStm
ADeclStm represents the decl alternative of the stm 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 |
AOutputStm
AOutputStm represents the output alternative of the stm production in the AST. |
class |
AReturnStm
AReturnStm represents the return alternative of the stm production in the AST. |
class |
AWhileStm
AWhileStm represents the while alternative of the stm production in the AST. |
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 that return PStm | |
---|---|
abstract PStm |
PStm.clone()
Returns a deep clone of this PStm node. |
abstract PStm |
PStm.clone(Map<Node,Node> oldToNewMap)
Creates a deep clone of this PStm node while putting all
old node-new node relations in the map oldToNewMap . |
PStm |
AWhileStm.getBody()
Returns the PStm node which is the body child of this AWhileStm node. |
PStm |
AIfThenStm.getBody()
Returns the PStm node which is the body child of this AIfThenStm node. |
PStm |
AIfThenElseStm.getElseBody()
Returns the PStm node which is the else_body child of this AIfThenElseStm node. |
PStm |
AIfThenElseStm.getThenBody()
Returns the PStm node which is the then_body child of this AIfThenElseStm node. |
Methods in tip.node that return types with arguments of type PStm | |
---|---|
abstract LinkedList<PStm> |
PBlock.getStatements()
Returns the possibly empty list of PStm nodes that are the statements children of this PBlock node. |
LinkedList<PStm> |
ABlock.getStatements()
Returns the possibly empty list of PStm nodes that are the statements children of this ABlock node. |
Methods in tip.node with parameters of type PStm | |
---|---|
void |
AWhileStm.setBody(PStm value)
Sets the body child of this AWhileStm node. |
void |
AIfThenStm.setBody(PStm value)
Sets the body child of this AIfThenStm node. |
void |
AIfThenElseStm.setElseBody(PStm value)
Sets the else_body child of this AIfThenElseStm node. |
void |
AIfThenElseStm.setThenBody(PStm value)
Sets the then_body child of this AIfThenElseStm node. |
Method parameters in tip.node with type arguments of type PStm | |
---|---|
abstract void |
PBlock.setStatements(List<? extends PStm> value)
Sets the statements children of this PBlock node. |
void |
ABlock.setStatements(List<? extends PStm> value)
Sets the statements children of this ABlock node. |
Constructors in tip.node with parameters of type PStm | |
---|---|
AIfThenElseStm(TLPar _token_,
PExp _condition_,
PStm _then_body_,
PStm _else_body_)
Creates a new AIfThenElseStm node with the given nodes as children. |
|
AIfThenStm(TLPar _token_,
PExp _condition_,
PStm _body_)
Creates a new AIfThenStm node with the given nodes as children. |
|
AWhileStm(TLPar _token_,
PExp _condition_,
PStm _body_)
Creates a new AWhileStm node with the given nodes as children. |
Constructor parameters in tip.node with type arguments of type PStm | |
---|---|
ABlock(List<? extends PStm> _statements_)
Creates a new ABlock node with the given nodes as children. |
|
ABlock(List<? extends PStm> _statements_,
Map<String,ALocalDecl> _local_env_)
Creates a new ABlock node with the given nodes as children. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |