|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectedu.ksu.cis.projects.bogor.ast.Node
edu.ksu.cis.projects.bogor.ast.Statement
edu.ksu.cis.projects.bogor.ast.ActionStatement
public class ActionStatement
The action statement AST.
| Field Summary | |
|---|---|
protected Action |
action
Holds the action. |
| Fields inherited from class edu.ksu.cis.projects.bogor.ast.Node |
|---|
ILLEGAL_LOCAL_ID_CHAR |
| Constructor Summary | |
|---|---|
ActionStatement(Action action)
Default constructor. |
|
| Method Summary | |
|---|---|
ActionStatement |
clone()
Clones this object (deep clone); including location info. |
void |
dispose()
Disposes action. |
Action |
getAction()
Gets the action. |
void |
setAction(Action action)
Sets the action. |
protected String |
toString(String indent)
Returns the string representation of this object. |
void |
visit(ASTVisitor visitor)
|
| Methods inherited from class edu.ksu.cis.projects.bogor.ast.Statement |
|---|
getParent, setParent, toString |
| 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 |
| Field Detail |
|---|
protected Action action
| Constructor Detail |
|---|
public ActionStatement(Action action)
action - The action. Must be non-null.| Method Detail |
|---|
public ActionStatement clone()
clone in class Statementpublic void dispose()
dispose in interface Disposabledispose in class Statementpublic Action getAction()
public void setAction(Action action)
action - The action. Must be non-null.public void visit(ASTVisitor visitor)
visit in class Nodeprotected String toString(String indent)
toString in class Statementindent - The indentation for this statement.
"action\n".
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||