|
||||||||||
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
org.basex.query.xquery.func.Fun
public abstract class Fun
Abstract function definition.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class org.basex.query.xquery.expr.Expr |
---|
Expr.Return, Expr.Using |
Field Summary | |
---|---|
Expr[] |
args
Function results. |
FunDef |
func
Function description. |
Constructor Summary | |
---|---|
Fun()
|
Method Summary | |
---|---|
Expr |
c(XQContext ctx)
Compiles the function. |
Expr |
comp(XQContext ctx)
Optimizes and compiles the expression. |
java.lang.String |
info()
Returns a string description of the expression. |
Iter |
iter(XQContext ctx)
Evaluates the expression and returns an iterator on the resulting items. |
abstract Iter |
iter(XQContext ctx,
Iter[] arg)
Evaluates the function. |
void |
plan(Serializer ser)
Recursively sends the abstract syntax of this expression to the specified serializer. |
Type |
returned()
Indicates if an expression returns the specified type. |
java.lang.String |
toString()
|
boolean |
uses(Expr.Using u)
Indicates if an expression uses the specified type. |
Methods inherited from class org.basex.query.xquery.expr.Expr |
---|
e, i |
Methods inherited from class org.basex.query.ExprInfo |
---|
color, name |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public Expr[] args
public FunDef func
Constructor Detail |
---|
public Fun()
Method Detail |
---|
public final Expr comp(XQContext ctx) throws XQException
Expr
comp
in class Expr
ctx
- query context
XQException
- evaluation exceptionpublic Expr c(XQContext ctx) throws XQException
ctx
- xquery context
XQException
- evaluation exceptionpublic final Iter iter(XQContext ctx) throws XQException
Expr
iter
in class Expr
ctx
- query context
XQException
- evaluation exceptionpublic abstract Iter iter(XQContext ctx, Iter[] arg) throws XQException
ctx
- xquery contextarg
- evaluated arguments
XQException
- evaluation exceptionpublic boolean uses(Expr.Using u)
Expr
uses
in class Expr
u
- using flag
public final Type returned()
Expr
returned
in class Expr
public final java.lang.String toString()
toString
in class ExprInfo
public final java.lang.String info()
ExprInfo
ExprInfo.toString()
method, the current expressions aren't included
in the output.
info
in class ExprInfo
public void plan(Serializer ser) throws java.io.IOException
ExprInfo
plan
in class ExprInfo
ser
- serializer
java.io.IOException
- exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |