Package | Description |
---|---|
org.basex.query |
XQuery implementation.
|
org.basex.query.func |
XQuery functions.
|
Modifier and Type | Field and Description |
---|---|
ArrayList<StaticFunc> |
QueryParser.funcs
Parsed functions.
|
Constructor and Description |
---|
MainModule(StaticFunc sf,
Expr[] args)
Constructor for a function call.
|
Modifier and Type | Method and Description |
---|---|
StaticFunc |
StaticFuncs.declare(AnnList anns,
QNm nm,
Var[] args,
SeqType type,
Expr expr,
StaticContext sc,
VarScope scope,
String doc,
InputInfo ii)
Declares a new user-defined function.
|
StaticFunc |
StaticFuncCall.evalFunc(QueryContext qc) |
StaticFunc |
StaticFuncCall.func()
Returns the called function if already known,
null otherwise. |
StaticFunc[] |
StaticFuncs.funcs()
Returns all user-defined functions.
|
StaticFunc |
StaticFuncs.get(QNm name,
int arity,
InputInfo ii,
boolean error)
Returns the function with the given name and arity.
|
Modifier and Type | Method and Description |
---|---|
static FuncItem |
Functions.getUser(StaticFunc sf,
QueryContext qc,
StaticContext sc,
InputInfo info)
Returns a function item for a user-defined function.
|
StaticFuncCall |
StaticFuncCall.init(StaticFunc sf)
Initializes the function and checks for visibility.
|
Copyright © 2005–2015 BaseX Team. All rights reserved.