orc.ast.extended.declaration
Class SiteDeclaration
java.lang.Object
orc.ast.extended.declaration.Declaration
orc.ast.extended.declaration.SiteDeclaration
- All Implemented Interfaces:
- ASTNode, Locatable, Located
public class SiteDeclaration
- extends Declaration
Declaration of a site. The site is specified as a fully qualified Java class name.
The class must be a subclass of Site.
The declaration binds an instance of the class to the given name.
- Author:
- dkitchin
Constructor Summary |
SiteDeclaration(java.lang.String v,
java.lang.String c)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
varname
public java.lang.String varname
classname
public java.lang.String classname
SiteDeclaration
public SiteDeclaration(java.lang.String v,
java.lang.String c)
bindto
public Expression bindto(Expression target)
- Specified by:
bindto
in class Declaration
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
accept
public <E> E accept(Visitor<E> visitor)