Package | Description |
---|---|
org.basex.query |
XQuery implementation.
|
org.basex.query.expr |
XQuery expressions.
|
org.basex.query.func |
XQuery functions.
|
org.basex.query.util.list |
Query processor, list structures.
|
org.basex.query.value.item | |
org.basex.query.value.type | |
org.basex.query.var |
Modifier and Type | Field and Description |
---|---|
AnnList |
StaticDecl.anns
Annotations.
|
Constructor and Description |
---|
StaticDecl(StaticContext sc,
AnnList anns,
QNm name,
SeqType type,
VarScope scope,
String doc,
InputInfo info)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
AnnList |
XQFunctionExpr.annotations()
Annotations of this function.
|
Modifier and Type | Field and Description |
---|---|
AnnList |
TypedFunc.anns
Annotations.
|
Modifier and Type | Method and Description |
---|---|
AnnList |
StaticFunc.annotations() |
AnnList |
PartFunc.annotations()
Returns the function annotations.
|
AnnList |
FuncLit.annotations()
Returns annotations.
|
AnnList |
Closure.annotations() |
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.
|
static boolean |
StaticFunc.inline(QueryContext qc,
AnnList anns,
Expr expr)
Checks if inlining conditions are given.
|
Constructor and Description |
---|
Closure(InputInfo info,
SeqType ret,
Var[] args,
Expr expr,
AnnList anns,
Map<Var,Expr> nonLocal,
StaticContext sc,
VarScope scope)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
AnnList |
AnnList.check(boolean var)
Checks all annotations for parsing errors.
|
AnnList |
AnnList.intersect(AnnList al)
Returns the intersection of these annotations and the given ones.
|
AnnList |
AnnList.union(AnnList al)
Returns the union of these annotations and the given ones.
|
Modifier and Type | Method and Description |
---|---|
AnnList |
AnnList.intersect(AnnList al)
Returns the intersection of these annotations and the given ones.
|
AnnList |
AnnList.union(AnnList al)
Returns the union of these annotations and the given ones.
|
Modifier and Type | Method and Description |
---|---|
AnnList |
FItem.annotations() |
Constructor and Description |
---|
FItem(FuncType type,
AnnList anns)
Constructor.
|
FuncItem(StaticContext sc,
AnnList anns,
QNm name,
Var[] params,
FuncType type,
Expr expr,
int stackSize)
Constructor.
|
FuncItem(StaticContext sc,
AnnList anns,
QNm name,
Var[] params,
FuncType type,
Expr expr,
Value ctxValue,
long pos,
long size,
int stackSize)
Constructor.
|
Modifier and Type | Field and Description |
---|---|
AnnList |
FuncType.anns
Annotations.
|
Modifier and Type | Method and Description |
---|---|
static FuncType |
FuncType.get(AnnList anns,
SeqType ret,
SeqType... args)
Getter for function types.
|
static FuncType |
FuncType.get(AnnList anns,
Var[] args,
SeqType ret)
Getter for a function's type.
|
Modifier and Type | Method and Description |
---|---|
StaticVar |
Variables.declare(QNm nm,
SeqType type,
AnnList anns,
Expr expr,
boolean ext,
StaticContext sc,
VarScope scope,
String doc,
InputInfo ii)
Declares a new static variable.
|
Copyright © 2005–2015 BaseX Team. All rights reserved.