orc.ast.extended.declaration
Class IncludeDeclaration
java.lang.Object
orc.ast.extended.declaration.Declaration
orc.ast.extended.declaration.IncludeDeclaration
- All Implemented Interfaces:
- ASTNode, Locatable, Located
public class IncludeDeclaration
- extends Declaration
Group together a series of declarations which were included from the same file.
- Author:
- dkitchin
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
decls
public java.util.List<Declaration> decls
sourceFile
public java.lang.String sourceFile
IncludeDeclaration
public IncludeDeclaration(java.util.List<Declaration> decls,
java.lang.String sourceFile)
bindto
public Expression bindto(Expression target)
throws CompilationException
- Specified by:
bindto
in class Declaration
- Throws:
CompilationException
accept
public <E> E accept(Visitor<E> visitor)