com.veromodo.tempo.ast
Class ASTDeclFun

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

public class ASTDeclFun
extends ASTDecl
implements Resource, Describable


Constructor Summary
ASTDeclFun(ASTIdentifier id, ASTListFormal lf, ASTExpr b)
           
 
Method Summary
 ASTExpr getBody()
           
 Descriptor getDescriptor()
           
 ASTListFormal getFormals()
           
 ASTIdentifier getId()
           
 java.lang.String getName()
           
 void setDescriptor(Descriptor d)
           
 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

ASTDeclFun

public ASTDeclFun(ASTIdentifier id,
                  ASTListFormal lf,
                  ASTExpr b)
Method Detail

getId

public ASTIdentifier getId()

getFormals

public ASTListFormal getFormals()

getBody

public ASTExpr getBody()

getName

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

setDescriptor

public void setDescriptor(Descriptor d)

getDescriptor

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

visit

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

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