com.veromodo.tempo.ast
Class ASTListFormal

java.lang.Object
  extended by com.veromodo.tempo.ast.ASTNode
      extended by com.veromodo.tempo.ast.ASTList<ASTFormal>
          extended by com.veromodo.tempo.ast.ASTListFormal
All Implemented Interfaces:
Locatable, java.lang.Iterable<ASTFormal>

public class ASTListFormal
extends ASTList<ASTFormal>

Representation for a factored list of formal parameters. Each formal parameters for a function definition, component, and for clause is a variable. Each formal parameters for an automaton or vocabulary definition is either a variable or a type (i.e., an identifier with type type).

The syntax for varLists ensures that type does not occur as the type of a parameter for function definition, component, or for clause.

See Also:
ASTTypeParameter

Constructor Summary
ASTListFormal()
           
 
Method Summary
 void visit(ASTIVisitor v)
          Abstract method to traverse the AST via a visitor.
 
Methods inherited from class com.veromodo.tempo.ast.ASTList
add, get, isEmpty, iterator, size, toString
 
Methods inherited from class com.veromodo.tempo.ast.ASTNode
getExtent, setExtent
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ASTListFormal

public ASTListFormal()
Method Detail

visit

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

Overrides:
visit in class ASTList<ASTFormal>
Parameters:
v - the visitor interface
See Also:
ASTIVisitor