public interface XQFunctionExpr
Modifier and Type | Method and Description |
---|---|
AnnList |
annotations()
Annotations of this function.
|
QNm |
argName(int pos)
Name of the argument at the given position.
|
int |
arity()
Number of arguments this function takes.
|
QNm |
funcName()
Name of this function,
null means anonymous function. |
FuncType |
funcType()
Type of this function.
|
Expr |
inlineExpr(Expr[] exprs,
QueryContext qc,
VarScope scp,
InputInfo ii)
Tries to inline this function with the given argument expressions.
|
int arity()
QNm funcName()
null
means anonymous function.null
QNm argName(int pos)
pos
- position of the argumentFuncType funcType()
AnnList annotations()
Expr inlineExpr(Expr[] exprs, QueryContext qc, VarScope scp, InputInfo ii) throws QueryException
exprs
- argument expressionsqc
- query contextscp
- variable scopeii
- input infonull
otherwiseQueryException
- query exceptionCopyright © 2005–2015 BaseX Team. All rights reserved.