com.veromodo.tempo.ast
Class ASTDeclVocabulary

java.lang.Object
  extended by com.veromodo.tempo.ast.ASTNode
      extended by com.veromodo.tempo.ast.ASTDecl
          extended by com.veromodo.tempo.ast.ASTDeclVocabulary
All Implemented Interfaces:
HasImports, Locatable

public class ASTDeclVocabulary
extends ASTDecl
implements HasImports


Constructor Summary
ASTDeclVocabulary(ASTIdentifier n, ASTListFormal lf, ASTTypeGeneric ty, ASTListVocabRef lv, ASTListUsedType defs, ASTListOperatorSignature sigs)
           
 
Method Summary
 void addImport(ASTVocabRef vr)
           
 ASTListFormal getFormals()
           
 ASTListVocabRef getImplicitImports()
           
 ASTListVocabRef getImports()
           
 ASTTypeGeneric getInst()
           
 ASTIdentifier getName()
           
 ASTListOperatorSignature getSigs()
           
 ASTListUsedType getUsed()
           
 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

ASTDeclVocabulary

public ASTDeclVocabulary(ASTIdentifier n,
                         ASTListFormal lf,
                         ASTTypeGeneric ty,
                         ASTListVocabRef lv,
                         ASTListUsedType defs,
                         ASTListOperatorSignature sigs)
Method Detail

getInst

public ASTTypeGeneric getInst()

getSigs

public ASTListOperatorSignature getSigs()

getName

public ASTIdentifier getName()

getFormals

public ASTListFormal getFormals()

getImports

public ASTListVocabRef getImports()

getImplicitImports

public ASTListVocabRef getImplicitImports()

getUsed

public ASTListUsedType getUsed()

addImport

public void addImport(ASTVocabRef vr)
Specified by:
addImport in interface HasImports

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