xacute.quilt
Class Binding

java.lang.Object
  |
  +--xacute.quilt.Binding
Direct Known Subclasses:
ForBinding, LetBinding

public abstract class Binding
extends java.lang.Object

This class represents a FOR or a LET clause in a FLWR expression in Quilt.


Field Summary
protected  boolean distinct
          This field indicates if the resulting node-list must be freed from its duplicates.
protected  QuiltExpression e
          This field is the expression whose evaluation result must be bound to the variable.
protected  boolean isFirst
          used for pretty-printing to avoid repeating LET/FOR
protected  java.lang.String name
          This field is the name of the variable to bind.
 
Method Summary
abstract  java.lang.String pprint()
          Pretty-prints a Binding object.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

isFirst

protected boolean isFirst
used for pretty-printing to avoid repeating LET/FOR

name

protected java.lang.String name
This field is the name of the variable to bind.

distinct

protected boolean distinct
This field indicates if the resulting node-list must be freed from its duplicates.

e

protected QuiltExpression e
This field is the expression whose evaluation result must be bound to the variable.
Method Detail

pprint

public abstract java.lang.String pprint()
Pretty-prints a Binding object.

toString

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