com.veromodo.tempo.ast
Class ASTComponent

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

public class ASTComponent
extends ASTNode
implements Resource, Describable


Constructor Summary
ASTComponent(ASTIdentifier n, ASTListFormal lf, ASTComponentDef cd, ASTExpr w)
           
 
Method Summary
 ASTComponentDef getDef()
           
 Descriptor getDescriptor()
           
 ASTListFormal getFormals()
           
 ASTIdentifier getId()
           
 java.lang.String getName()
           
 ASTExpr getWhere()
           
 void setDescriptor(Descriptor t)
           
 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
 
Methods inherited from interface com.veromodo.tempo.util.Locatable
getExtent
 

Constructor Detail

ASTComponent

public ASTComponent(ASTIdentifier n,
                    ASTListFormal lf,
                    ASTComponentDef cd,
                    ASTExpr w)
Method Detail

getName

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

getDef

public ASTComponentDef getDef()

getId

public ASTIdentifier getId()

getFormals

public ASTListFormal getFormals()

getWhere

public ASTExpr getWhere()

getDescriptor

public Descriptor getDescriptor()
Specified by:
getDescriptor in interface Describable

setDescriptor

public void setDescriptor(Descriptor t)

visit

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

Specified by:
visit in class ASTNode
Parameters:
v - the visitor interface
See Also:
ASTIVisitor