Package | Description |
---|---|
org.basex.query.expr |
XQuery expressions.
|
org.basex.query.func |
XQuery functions.
|
org.basex.query.value.array | |
org.basex.query.value.item | |
org.basex.query.value.map | |
org.basex.query.value.type |
Modifier and Type | Method and Description |
---|---|
FuncType |
XQFunctionExpr.funcType()
Type of this function.
|
Modifier and Type | Method and Description |
---|---|
FuncType |
StaticFunc.funcType() |
FuncType |
Closure.funcType() |
Modifier and Type | Method and Description |
---|---|
void |
Closure.adoptSignature(FuncType ft)
Fixes the function type of this closure after it was generated for a function literal during
parsing.
|
Modifier and Type | Method and Description |
---|---|
FuncType |
Array.funcType() |
Modifier and Type | Method and Description |
---|---|
FItem |
Array.coerceTo(FuncType ft,
QueryContext qc,
InputInfo ii,
boolean opt) |
Modifier and Type | Method and Description |
---|---|
FuncType |
FuncItem.funcType() |
Modifier and Type | Method and Description |
---|---|
FItem |
FuncItem.coerceTo(FuncType ft,
QueryContext qc,
InputInfo ii,
boolean opt) |
abstract FItem |
FItem.coerceTo(FuncType ft,
QueryContext qc,
InputInfo ii,
boolean opt)
Coerces this function item to the given function type.
|
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 | Method and Description |
---|---|
FuncType |
Map.funcType() |
Modifier and Type | Method and Description |
---|---|
Map |
Map.coerceTo(FuncType ft,
QueryContext qc,
InputInfo ii,
boolean opt) |
Modifier and Type | Class and Description |
---|---|
class |
ArrayType
Type for arrays.
|
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(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.
|
static FuncType |
FuncType.get(SeqType ret,
SeqType... args)
Getter for function types without annotations.
|
Copyright © 2005–2015 BaseX Team. All rights reserved.