jfun.jaskell.ast
Class Bound

java.lang.Object
  extended by jfun.jaskell.ast.Bound
All Implemented Interfaces:
java.io.Serializable, Expr

public final class Bound
extends java.lang.Object

Represents a use of a Binding.

Author:
Ben Yu Dec 30, 2004
See Also:
Serialized Form

Method Summary
 java.lang.Object accept(ExprVisitor v)
           
 Binding getBinding()
          Get the Binding object that this binds to.
 int getIndex()
          Get the starting index in the original source.
 Location getLocation()
          Get the location that is readable to human being.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

getBinding

public Binding getBinding()
Get the Binding object that this binds to.

Returns:
Returns the binding.

accept

public java.lang.Object accept(ExprVisitor v)

toString

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

getIndex

public int getIndex()
Get the starting index in the original source.


getLocation

public Location getLocation()
Get the location that is readable to human being.