edu.ksu.cis.projects.bogor.ast
Class Action
java.lang.Object
edu.ksu.cis.projects.bogor.ast.Node
edu.ksu.cis.projects.bogor.ast.Action
- All Implemented Interfaces:
- Disposable, Serializable, Cloneable
- Direct Known Subclasses:
- AssertAction, AssignAction, AssumeAction, ExitThreadAction, ExpAction, InvokeAction, LockAction, PrintAction, ThrowAction
public abstract class Action
- extends Node
The top level class for action AST.
- Version:
- CVS $Revision: 1.4 $ $Date: 2005/01/13 23:40:08 $
- Author:
- Robby
- See Also:
- Serialized Form
Action
public Action()
setParent
public void setParent(IActionParent newParent)
- Sets the parent of this object.
- Parameters:
newParent
- The new parent of this object. Must be non-null.
getParent
public IActionParent getParent()
- Gets the parent of this object.
- Returns:
- The parent of this object.
clone
public abstract Action clone()
- Clones this object (deep clone); including location info.
- Specified by:
clone
in class Node
- Returns:
- The clone of this object.
dispose
public void dispose()
- Removes reference to parent.
Once called, avoid using this object.
- Specified by:
dispose
in interface Disposable
- Overrides:
dispose
in class Node