edu.ksu.cis.projects.bogor.ast
Class Param

java.lang.Object
  extended by edu.ksu.cis.projects.bogor.ast.Node
      extended by edu.ksu.cis.projects.bogor.ast.AbstractLocal
          extended by edu.ksu.cis.projects.bogor.ast.Param
All Implemented Interfaces:
IExpParent, ITypedIdParent, Disposable, Serializable, Cloneable

public final class Param
extends AbstractLocal

Formal parameter to a FSM definition. Supports modifiers such as "transient".

Version:
CVS $Revision: 1.2 $ $Date: 2005/01/13 23:40:09 $
Author:
Matt Hoosier
See Also:
Serialized Form

Field Summary
 
Fields inherited from class edu.ksu.cis.projects.bogor.ast.Node
ILLEGAL_LOCAL_ID_CHAR
 
Constructor Summary
Param(TypedId typedId, boolean isTransient)
           
 
Method Summary
 Param clone()
          Clones this object (deep clone); including location info.
 String toString()
          Returns the string representation of this object.
 void visit(ASTVisitor visitor)
           
 
Methods inherited from class edu.ksu.cis.projects.bogor.ast.AbstractLocal
dispose, getParent, getTransient, getTypedId, setParent, setTransient, setTypedId
 
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

Param

public Param(TypedId typedId,
             boolean isTransient)
Method Detail

clone

public Param clone()
Description copied from class: AbstractLocal
Clones this object (deep clone); including location info.

Specified by:
clone in class AbstractLocal
Returns:
The clone of this object.

toString

public String toString()
Returns the string representation of this object.

Specified by:
toString in class Node
Returns:
"[transient] typedId".

visit

public void visit(ASTVisitor visitor)
Specified by:
visit in class Node