orc.ast.extended.declaration
Class ValDeclaration

java.lang.Object
  extended by orc.ast.extended.declaration.Declaration
      extended by orc.ast.extended.declaration.ValDeclaration
All Implemented Interfaces:
Locatable, Located

public class ValDeclaration
extends Declaration


Field Summary
 
Fields inherited from class orc.ast.extended.declaration.Declaration
location
 
Constructor Summary
ValDeclaration(Pattern p, Expression f)
           
 
Method Summary
 Expression bindto(Expression target)
           
 java.lang.String toString()
           
 
Methods inherited from class orc.ast.extended.declaration.Declaration
getSourceLocation, setSourceLocation
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ValDeclaration

public ValDeclaration(Pattern p,
                      Expression f)
Method Detail

bindto

public Expression bindto(Expression target)
                  throws CompilationException
Specified by:
bindto in class Declaration
Throws:
CompilationException

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object