|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.basex.query.ExprInfo
org.basex.query.xquery.expr.Expr
public abstract class Expr
Abstract Expression.
Nested Class Summary | |
---|---|
static class |
Expr.Return
Return types, evaluated by the compiler. |
static class |
Expr.Using
Used types, evaluated by the compiler. |
Constructor Summary | |
---|---|
Expr()
|
Method Summary | |
---|---|
abstract Expr |
comp(XQContext ctx)
Optimizes and compiles the expression. |
boolean |
e()
Returns if this is an empty sequence. |
boolean |
i()
Checks if this is an item. |
abstract Iter |
iter(XQContext ctx)
Evaluates the expression and returns an iterator on the resulting items. |
Type |
returned()
Indicates if an expression returns the specified type. |
boolean |
uses(Expr.Using use)
Indicates if an expression uses the specified type. |
Methods inherited from class org.basex.query.ExprInfo |
---|
color, info, name, plan, toString |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Expr()
Method Detail |
---|
public abstract Expr comp(XQContext ctx) throws XQException
ctx
- query context
XQException
- evaluation exceptionpublic abstract Iter iter(XQContext ctx) throws XQException
ctx
- query context
XQException
- evaluation exceptionpublic boolean i()
public final boolean e()
public boolean uses(Expr.Using use)
use
- using flag
public Type returned()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |