com.veromodo.tempo.ast
Class ASTActualExpr

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

public class ASTActualExpr
extends ASTActual

Concrete class.

Represent a "standard" actual, i.e., an expression that will evaluate to some value.

Author:
L. Michel

Constructor Summary
ASTActualExpr(ASTExpr e)
          Constructor.
 
Method Summary
 ASTExpr getExpr()
          Accessor.
 void visit(ASTIVisitor v)
          Abstract method to traverse the AST via a visitor.
 
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

ASTActualExpr

public ASTActualExpr(ASTExpr e)
Constructor. Takes an expression and embeds into an actual node.

Method Detail

getExpr

public ASTExpr getExpr()
Accessor. Retrieves the value of the expression.


visit

public void visit(ASTIVisitor v)
Description copied from class: ASTNode
Abstract method to traverse the AST via a visitor.

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