orc.ast.extended.declaration
Class ClassDeclaration
java.lang.Object
orc.ast.extended.declaration.Declaration
orc.ast.extended.declaration.ClassDeclaration
- All Implemented Interfaces:
- ASTNode, Locatable, Located
public class ClassDeclaration
- extends Declaration
Declaration of a class proxy. The class is given as a fully qualified Java class name.
It can be any Java class.
The declaration binds a proxy for this class to the given name. Calls to the proxy
behave as calls to the class's constructor.
- Author:
- dkitchin
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
ClassDeclaration
public ClassDeclaration(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)