org.ucl.xpath.ast
Class ForExpr

java.lang.Object
  extended byorg.ucl.xpath.ast.XPathNode
      extended byorg.ucl.xpath.ast.Expr
          extended byorg.ucl.xpath.ast.ForExpr

public class ForExpr
extends Expr

Class for the For expression.


Constructor Summary
ForExpr(java.util.Collection varexp, Expr ret)
          Constructor for ForExpr.
 
Method Summary
 java.lang.Object accept(XPathVisitor v)
          Support for Visitor interface.
 Expr expr()
          Support for Expr interface.
 java.util.Iterator iterator()
          Support for Iterator interface.
 void set_expr(Expr e)
          Set Expression.
 void truncate_pairs()
          Normalization of expression pairs.
 java.util.Collection ve_pairs()
          Support for Collection interface.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ForExpr

public ForExpr(java.util.Collection varexp,
               Expr ret)
Constructor for ForExpr.

Parameters:
varexp - Expressions.
ret - Return expression.
Method Detail

accept

public java.lang.Object accept(XPathVisitor v)
Support for Visitor interface.

Specified by:
accept in class XPathNode
Returns:
Result of Visitor operation.

iterator

public java.util.Iterator iterator()
Support for Iterator interface.

Returns:
Result of Iterator operation.

expr

public Expr expr()
Support for Expr interface.

Returns:
Result of Expr operation.

set_expr

public void set_expr(Expr e)
Set Expression.

Parameters:
e - Expression.

truncate_pairs

public void truncate_pairs()
Normalization of expression pairs.


ve_pairs

public java.util.Collection ve_pairs()
Support for Collection interface.

Returns:
Expression pairs.