com.veromodo.tempo.ast
Class ASTForLoop

java.lang.Object
  extended by com.veromodo.tempo.ast.ASTNode
      extended by com.veromodo.tempo.ast.ASTStatement
          extended by com.veromodo.tempo.ast.ASTForLoop
All Implemented Interfaces:
Locatable, Resource

public class ASTForLoop
extends ASTStatement
implements Resource


Constructor Summary
ASTForLoop(ASTIdentifier id, ASTType ty, ASTExpr from, ASTStatement block)
           
 
Method Summary
 ASTStatement getBody()
           
 ASTExpr getFrom()
           
 ASTIdentifier getId()
           
 java.lang.String getName()
           
 ASTType getType()
           
 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
 
Methods inherited from interface com.veromodo.tempo.util.Resource
getExtent
 

Constructor Detail

ASTForLoop

public ASTForLoop(ASTIdentifier id,
                  ASTType ty,
                  ASTExpr from,
                  ASTStatement block)
Method Detail

getId

public ASTIdentifier getId()

getType

public ASTType getType()

getFrom

public ASTExpr getFrom()

getBody

public ASTStatement getBody()

getName

public java.lang.String getName()
Specified by:
getName in interface Resource

visit

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

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