| Package | Description |
|---|---|
| org.basex.query.item |
XQuery data types.
|
| org.basex.query.item.map | |
| org.basex.query.util |
XQuery utility classes.
|
| Modifier and Type | Class and Description |
|---|---|
class |
MapType
Type for maps.
|
| Modifier and Type | Field and Description |
|---|---|
static FuncType |
FuncType.ANY_FUN
Any function type.
|
| Modifier and Type | Method and Description |
|---|---|
static FuncType |
FuncType.arity(int a)
Getter for function types with a given arity.
|
static FuncType |
FuncType.get(SeqType ret,
SeqType... args)
Getter for function types.
|
static FuncType |
FuncType.get(UserFunc f)
Getter for a function's type.
|
| Modifier and Type | Method and Description |
|---|---|
abstract FItem |
FItem.coerceTo(FuncType ft,
QueryContext ctx,
InputInfo ii)
Coerces this function item to the given function type.
|
FItem |
FuncItem.coerceTo(FuncType ft,
QueryContext ctx,
InputInfo ii) |
| Constructor and Description |
|---|
FuncItem(QNm n,
Var[] arg,
Expr body,
FuncType t,
boolean cst)
Constructor.
|
FuncItem(Var[] arg,
Expr body,
FuncType t,
VarStack cl,
boolean cst)
Constructor for anonymous functions.
|
| Modifier and Type | Method and Description |
|---|---|
Map |
Map.coerceTo(FuncType ft,
QueryContext ctx,
InputInfo ii) |
| Modifier and Type | Field and Description |
|---|---|
FuncType |
TypedFunc.type
Function type.
|
| Constructor and Description |
|---|
TypedFunc(Expr f,
FuncType ft)
Constructor.
|