com.veromodo.tempo.ast
Class ASTActionFormalConst

java.lang.Object
  extended by com.veromodo.tempo.ast.ASTNode
      extended by com.veromodo.tempo.ast.ASTActionFormal
          extended by com.veromodo.tempo.ast.ASTActionFormalConst
All Implemented Interfaces:
Locatable

public class ASTActionFormalConst
extends ASTActionFormal

Concrete formal class The formal is restricted to be a constant that is evaluated to _expr when the transition is invoked.

Author:
L. Michel

Constructor Summary
ASTActionFormalConst(ASTExpr e)
          Constructor
 
Method Summary
 ASTExpr getExpr()
          Accessor
 void visit(ASTIVisitor v)
          See visitor design pattern @see ASTIVisitor.
 
Methods inherited from class com.veromodo.tempo.ast.ASTNode
getExtent, setExtent
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ASTActionFormalConst

public ASTActionFormalConst(ASTExpr e)
Constructor

Parameters:
e - the expression used to initialize the constant formal
Method Detail

getExpr

public ASTExpr getExpr()
Accessor

Returns:
the constant formal expression

visit

public void visit(ASTIVisitor v)
Description copied from class: ASTActionFormal
See visitor design pattern @see ASTIVisitor.

Overrides:
visit in class ASTActionFormal
Parameters:
v - the visitor interface
See Also:
ASTIVisitor