|
||||||||||
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.Action edu.ksu.cis.projects.bogor.ast.LockAction
public final class LockAction
Lock action AST.
Field Summary |
---|
Fields inherited from class edu.ksu.cis.projects.bogor.ast.Node |
---|
ILLEGAL_LOCAL_ID_CHAR |
Constructor Summary | |
---|---|
LockAction(LockOp lockOp,
Exp exp)
Default constructor. |
Method Summary | |
---|---|
LockAction |
clone()
Clones this object (deep clone); including location info. |
void |
dispose()
Disposes exp. |
Exp |
getExp()
Gets the exp. |
LockOp |
getLockOp()
Gets the lock operator. |
void |
setExp(Exp newExp)
Sets the exp. |
void |
setLockOp(LockOp newLockOp)
Sets the lock operator. |
String |
toString()
Returns the string representation of this object. |
void |
visit(ASTVisitor visitor)
|
Methods inherited from class edu.ksu.cis.projects.bogor.ast.Action |
---|
getParent, setParent |
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 LockAction(LockOp lockOp, Exp exp)
lockOp
- The lock operator. Must be valid.exp
- The exp. Must be non-null.Method Detail |
---|
public void setExp(Exp newExp)
newExp
- The new exp. Must be non-null.public Exp getExp()
public void setLockOp(LockOp newLockOp)
newLockOp
- The new lock operator. Must be valid.public LockOp getLockOp()
public LockAction clone()
clone
in class Action
public void dispose()
dispose
in interface Disposable
dispose
in class Action
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 |