orc.ast.extended.declaration
Class ClassDeclaration

java.lang.Object
  extended by orc.ast.extended.declaration.ClassDeclaration
All Implemented Interfaces:
Declaration

public class ClassDeclaration
extends java.lang.Object
implements 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

Field Summary
 java.lang.String classname
           
 java.lang.String varname
           
 
Constructor Summary
ClassDeclaration(java.lang.String v, java.lang.String c)
           
 
Method Summary
 Expression bindto(Expression target)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

varname

public java.lang.String varname

classname

public java.lang.String classname
Constructor Detail

ClassDeclaration

public ClassDeclaration(java.lang.String v,
                        java.lang.String c)
Method Detail

bindto

public Expression bindto(Expression target)
Specified by:
bindto in interface Declaration