org.exist.xquery
Class LetExpr
java.lang.Object
org.exist.xquery.AbstractExpression
org.exist.xquery.BindingExpression
org.exist.xquery.LetExpr
- All Implemented Interfaces:
- Expression
public class LetExpr
- extends BindingExpression
Implements an XQuery let-expression.
- Author:
- Wolfgang Meier
| Methods inherited from class org.exist.xquery.BindingExpression |
analyze, eval, getInputSequence, getReturnExpression, getVariable, getWhereExpression, preselect, resetState, returnsType, setGroupReturnExpr, setGroupSpecs, setGroupVariable, setInputSequence, setOrderSpecs, setReturnExpression, setSequenceType, setToGroupVariable, setVariable, setWhereExpression |
LetExpr
public LetExpr(XQueryContext context)
analyze
public void analyze(AnalyzeContextInfo contextInfo,
OrderSpec[] orderBy,
GroupSpec[] groupBy)
throws XPathException
- Specified by:
analyze in class BindingExpression
- Throws:
XPathException
eval
public Sequence eval(Sequence contextSequence,
Item contextItem,
Sequence resultSequence,
GroupedValueSequenceTable groupedSequence)
throws XPathException
- Specified by:
eval in class BindingExpression
- Throws:
XPathException
dump
public void dump(ExpressionDumper dumper)
- Description copied from interface:
Expression
- Write a diagnostic dump of the expression to the passed
ExpressionDumper.
- Parameters:
dumper - the expression dumper to write to
toString
public String toString()
- Overrides:
toString in class Object
accept
public void accept(ExpressionVisitor visitor)
- Description copied from interface:
Expression
- Start traversing the expression tree using the specified
ExpressionVisitor.
- Specified by:
accept in interface Expression- Overrides:
accept in class AbstractExpression
Copyright (C) Wolfgang Meier. All rights reserved.