|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object edu.ksu.cis.projects.bogor.ast.Node edu.ksu.cis.projects.bogor.ast.Transformation edu.ksu.cis.projects.bogor.ast.InvokeTransformation
public final class InvokeTransformation
Invoke transformation AST.
Field Summary |
---|
Fields inherited from class edu.ksu.cis.projects.bogor.ast.Node |
---|
ILLEGAL_LOCAL_ID_CHAR |
Constructor Summary | |
---|---|
InvokeTransformation(Exp exp,
InvokeExp invokeExp,
boolean invisible,
boolean visible,
NextState nextState)
Constructor with an exp. |
|
InvokeTransformation(Exp exp,
String id,
InvokeExp invokeExp,
boolean invisible,
boolean visible,
NextState nextState)
Constructor with an exp and a local id. |
|
InvokeTransformation(InvokeExp invokeExp,
boolean invisible,
boolean visible,
NextState nextState)
Default constructor. |
|
InvokeTransformation(String id,
InvokeExp invokeExp,
boolean invisible,
boolean visible,
NextState nextState)
Constructor with a local id. |
Method Summary | |
---|---|
InvokeTransformation |
clone()
Clones this object (deep clone); including location info. |
void |
dispose()
Disposes lhs, invokeExp, and nextState. |
InvokeExp |
getInvokeExp()
Gets the invoke exp. |
int |
getLocalIndex()
Gets the local index. |
String |
getOptionalId()
Gets the optional local id. |
void |
setId(String newId)
Sets the optional local id. |
void |
setInvokeExp(InvokeExp newInvokeExp)
Sets the invoke exp. |
void |
setLocalIndex(int newLocalIndex)
Sets the local index. |
String |
toString()
Returns the string representation of this object. |
void |
visit(ASTVisitor visitor)
|
Methods inherited from class edu.ksu.cis.projects.bogor.ast.Transformation |
---|
getInvisible, getNextState, getOptionalExp, getParent, getVisible, setExp, setInvisible, setNextState, setParent, setVisible |
Methods inherited from class edu.ksu.cis.projects.bogor.ast.Node |
---|
getLocationInfo, getProperty, putProperty, setLocationInfo |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public InvokeTransformation(InvokeExp invokeExp, boolean invisible, boolean visible, NextState nextState)
invokeExp
- The invoke exp. Must be non-null.invisible
- The invisible.visible
- The visible.nextState
- The nextstate. Must be non-null.public InvokeTransformation(Exp exp, InvokeExp invokeExp, boolean invisible, boolean visible, NextState nextState)
exp
- The expression condition. Must be non-null.invokeExp
- The invoke exp. Must be non-null.invisible
- The invisible.visible
- The visible.nextState
- The nextstate. Must be non-null.public InvokeTransformation(String id, InvokeExp invokeExp, boolean invisible, boolean visible, NextState nextState)
id
- The local id. Must be non-null.invokeExp
- The invoke exp. Must be non-null.invisible
- The invisible.visible
- The visible.nextState
- The nextstate. Must be non-null.public InvokeTransformation(Exp exp, String id, InvokeExp invokeExp, boolean invisible, boolean visible, NextState nextState)
exp
- The expression condition. Must be non-null.id
- The local id. Must be non-null.invokeExp
- The invoke exp. Must be non-null.invisible
- The invisible.visible
- The visible.nextState
- The nextstate. Must be non-null.Method Detail |
---|
public void setId(String newId)
newId
- The new local id. Must be non-null.public void setInvokeExp(InvokeExp newInvokeExp)
newInvokeExp
- The new invoke exp. Must be non-null.public InvokeExp getInvokeExp()
public void setLocalIndex(int newLocalIndex)
newLocalIndex
- The new local index.FSMSymbolTable.getLocalIndexTable()
public int getLocalIndex()
FSMSymbolTable.getLocalIndexTable()
public String getOptionalId()
public InvokeTransformation clone()
clone
in class Transformation
public void dispose()
dispose
in interface Disposable
dispose
in class Transformation
public String toString()
toString
in class Node
public void visit(ASTVisitor visitor)
visit
in class Node
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |