|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Var | |
---|---|
org.basex.query | XQuery implementation. |
org.basex.query.expr | XQuery expressions. |
org.basex.query.ft | XQuery Full Text expressions. |
org.basex.query.func | XQuery functions. |
org.basex.query.gflwor | |
org.basex.query.path | XQuery path expressions. |
org.basex.query.up.expr | |
org.basex.query.util | XQuery utility classes. |
org.basex.query.value | XQuery data types. |
org.basex.query.value.item | |
org.basex.query.value.node | |
org.basex.query.value.type | |
org.basex.query.var |
Uses of Var in org.basex.query |
---|
Methods in org.basex.query with parameters of type Var | |
---|---|
Value |
QueryContext.get(Var var)
Gets the value currently bound to the given variable. |
Value |
QueryStack.get(Var var)
Gets the value bound to the given variable in the current stack frame. |
void |
QueryContext.set(Var vr,
Value vl,
InputInfo ii)
Binds an expression to a local variable. |
void |
QueryStack.set(Var var,
Value val,
QueryContext ctx,
InputInfo ii)
Sets the value of the given variable in the current stack frame. |
Uses of Var in org.basex.query.expr |
---|
Methods in org.basex.query.expr that return Var | |
---|---|
Var[] |
Catch.vars()
Returns the variables used in the catch expression. |
Methods in org.basex.query.expr with parameters of type Var | |
---|---|
VarUsage |
Arr.count(Var v)
|
VarUsage |
Try.count(Var v)
|
VarUsage |
Preds.count(Var v)
|
abstract VarUsage |
Expr.count(Var v)
Checks how often a variable is used in this expression. |
VarUsage |
CName.count(Var v)
|
VarUsage |
Single.count(Var v)
|
VarUsage |
Switch.count(Var v)
|
VarUsage |
SwitchCase.count(Var v)
Checks how often a variable is used in this expression. |
VarUsage |
ValueAccess.count(Var v)
|
VarUsage |
Filter.count(Var v)
|
VarUsage |
TypeSwitch.count(Var v)
|
VarUsage |
Simple.count(Var v)
|
VarUsage |
If.count(Var v)
|
protected VarUsage |
SwitchCase.countCases(Var v)
Checks how often a variable is used in this expression. |
Expr |
TypeCase.inline(QueryContext ctx,
VarScope scp,
Var v,
Expr e)
|
Expr |
Arr.inline(QueryContext ctx,
VarScope scp,
Var v,
Expr e)
|
Expr |
Try.inline(QueryContext ctx,
VarScope scp,
Var v,
Expr e)
|
Expr |
Preds.inline(QueryContext ctx,
VarScope scp,
Var v,
Expr e)
|
abstract Expr |
Expr.inline(QueryContext ctx,
VarScope scp,
Var v,
Expr e)
Inlines an expression into this one, replacing all references to the given variable. |
Expr |
CName.inline(QueryContext ctx,
VarScope scp,
Var v,
Expr e)
|
Expr |
Single.inline(QueryContext ctx,
VarScope scp,
Var v,
Expr e)
|
Catch |
Catch.inline(QueryContext ctx,
VarScope scp,
Var v,
Expr e)
|
Expr |
Switch.inline(QueryContext ctx,
VarScope scp,
Var v,
Expr e)
|
Expr |
SwitchCase.inline(QueryContext ctx,
VarScope scp,
Var v,
Expr e)
|
Expr |
ValueAccess.inline(QueryContext ctx,
VarScope scp,
Var v,
Expr e)
|
Expr |
Filter.inline(QueryContext ctx,
VarScope scp,
Var v,
Expr e)
|
Expr |
TypeSwitch.inline(QueryContext ctx,
VarScope scp,
Var v,
Expr e)
|
Expr |
Simple.inline(QueryContext ctx,
VarScope scp,
Var v,
Expr e)
|
Expr |
If.inline(QueryContext ctx,
VarScope scp,
Var v,
Expr e)
|
protected static boolean |
Expr.inlineAll(QueryContext ctx,
VarScope scp,
Expr[] arr,
Var v,
Expr e)
Inlines the given expression into all elements of the given array. |
boolean |
TypeCheck.isRedundant(Var var)
Checks if this type check is redundant if the result is bound to the given variable. |
boolean |
Arr.removable(Var v)
|
boolean |
Try.removable(Var v)
|
boolean |
Preds.removable(Var v)
|
boolean |
Context.removable(Var v)
|
abstract boolean |
Expr.removable(Var v)
Checks if the specified variable is replaceable by a context item. |
boolean |
CName.removable(Var v)
|
boolean |
Single.removable(Var v)
|
boolean |
Switch.removable(Var v)
|
boolean |
ValueAccess.removable(Var v)
|
boolean |
Filter.removable(Var v)
|
boolean |
TypeSwitch.removable(Var v)
|
boolean |
Simple.removable(Var v)
|
boolean |
If.removable(Var v)
|
boolean |
Expr.uses(Var v)
Checks if the given variable is used by this expression. |
Constructors in org.basex.query.expr with parameters of type Var | |
---|---|
TypeCase(InputInfo ii,
Var v,
SeqType[] ts,
Expr r)
Constructor. |
Uses of Var in org.basex.query.ft |
---|
Methods in org.basex.query.ft with parameters of type Var | |
---|---|
VarUsage |
FTExpr.count(Var v)
|
VarUsage |
FTWords.count(Var v)
|
VarUsage |
FTWindow.count(Var v)
|
VarUsage |
FTWeight.count(Var v)
|
VarUsage |
FTIndexAccess.count(Var v)
|
VarUsage |
FTContains.count(Var v)
|
VarUsage |
FTDistance.count(Var v)
|
FTExpr |
FTExpr.inline(QueryContext ctx,
VarScope scp,
Var v,
Expr e)
|
FTExpr |
FTWords.inline(QueryContext ctx,
VarScope scp,
Var v,
Expr e)
|
FTExpr |
FTWindow.inline(QueryContext ctx,
VarScope scp,
Var v,
Expr e)
|
FTExpr |
FTWeight.inline(QueryContext ctx,
VarScope scp,
Var v,
Expr e)
|
Expr |
FTIndexAccess.inline(QueryContext ctx,
VarScope scp,
Var v,
Expr e)
|
Expr |
FTContains.inline(QueryContext ctx,
VarScope scp,
Var v,
Expr e)
|
FTExpr |
FTDistance.inline(QueryContext ctx,
VarScope scp,
Var v,
Expr e)
|
boolean |
FTExpr.removable(Var v)
|
boolean |
FTWords.removable(Var v)
|
boolean |
FTWindow.removable(Var v)
|
boolean |
FTWeight.removable(Var v)
|
boolean |
FTIndexAccess.removable(Var v)
|
boolean |
FTContains.removable(Var v)
|
boolean |
FTDistance.removable(Var v)
|
Method parameters in org.basex.query.ft with type arguments of type Var | |
---|---|
abstract FTExpr |
FTExpr.copy(QueryContext ctx,
VarScope scp,
IntObjMap<Var> vs)
|
FTExpr |
FTWords.copy(QueryContext ctx,
VarScope scp,
IntObjMap<Var> vs)
|
FTExpr |
FTAnd.copy(QueryContext ctx,
VarScope scp,
IntObjMap<Var> vs)
|
FTExpr |
FTMildNot.copy(QueryContext ctx,
VarScope scp,
IntObjMap<Var> vs)
|
FTExpr |
FTOr.copy(QueryContext ctx,
VarScope scp,
IntObjMap<Var> vs)
|
FTExpr |
FTNot.copy(QueryContext ctx,
VarScope scp,
IntObjMap<Var> vs)
|
FTExpr |
FTScope.copy(QueryContext ctx,
VarScope scp,
IntObjMap<Var> vs)
|
FTExpr |
FTOptions.copy(QueryContext ctx,
VarScope scp,
IntObjMap<Var> vs)
|
FTExpr |
FTWindow.copy(QueryContext ctx,
VarScope scp,
IntObjMap<Var> vs)
|
Expr |
FTContainsExpr.copy(QueryContext ctx,
VarScope scp,
IntObjMap<Var> vs)
|
FTExpr |
FTWeight.copy(QueryContext ctx,
VarScope scp,
IntObjMap<Var> vs)
|
FTExpr |
FTContent.copy(QueryContext ctx,
VarScope scp,
IntObjMap<Var> vs)
|
Expr |
FTIndexAccess.copy(QueryContext ctx,
VarScope scp,
IntObjMap<Var> vs)
|
FTExpr |
FTOrder.copy(QueryContext ctx,
VarScope scp,
IntObjMap<Var> vs)
|
FTExpr |
FTExtensionSelection.copy(QueryContext ctx,
VarScope scp,
IntObjMap<Var> vs)
|
FTExpr |
FTDistance.copy(QueryContext ctx,
VarScope scp,
IntObjMap<Var> vs)
|
Uses of Var in org.basex.query.func |
---|
Fields in org.basex.query.func declared as Var | |
---|---|
Var[] |
StaticFunc.args
Arguments. |
Methods in org.basex.query.func with parameters of type Var | |
---|---|
VarUsage |
InlineFunc.count(Var v)
|
StaticFunc |
StaticFuncs.declare(Ann ann,
QNm nm,
Var[] args,
SeqType ret,
Expr body,
StaticContext sc,
VarScope scp,
java.lang.String xqdoc,
InputInfo ii)
Declares a new user-defined function. |
Expr |
InlineFunc.inline(QueryContext ctx,
VarScope scp,
Var v,
Expr e)
|
boolean |
InlineFunc.removable(Var v)
|
Method parameters in org.basex.query.func with type arguments of type Var | |
---|---|
Expr |
FuncLit.copy(QueryContext ctx,
VarScope o,
IntObjMap<Var> vs)
|
StandardFunc |
StandardFunc.copy(QueryContext ctx,
VarScope scp,
IntObjMap<Var> vs)
|
BaseFuncCall |
StaticFuncCall.copy(QueryContext ctx,
VarScope scp,
IntObjMap<Var> vs)
|
Expr |
JavaFunc.copy(QueryContext ctx,
VarScope scp,
IntObjMap<Var> vs)
|
Expr |
PartFunc.copy(QueryContext ctx,
VarScope scp,
IntObjMap<Var> vs)
|
Expr |
InlineFunc.copy(QueryContext cx,
VarScope scp,
IntObjMap<Var> vs)
|
Expr |
DynFuncCall.copy(QueryContext ctx,
VarScope scp,
IntObjMap<Var> vs)
|
Expr |
JavaModuleFunc.copy(QueryContext ctx,
VarScope scp,
IntObjMap<Var> vs)
|
Constructors in org.basex.query.func with parameters of type Var | |
---|---|
FuncLit(QNm nm,
Var[] arg,
Expr fn,
FuncType ft,
VarScope scp,
StaticContext sctx,
InputInfo ii)
Constructor. |
|
InlineFunc(InputInfo ii,
SeqType r,
Var[] v,
Expr e,
Ann a,
StaticContext stc,
VarScope scp)
Constructor. |
|
StaticFunc(Ann a,
QNm n,
Var[] v,
SeqType r,
Expr e,
StaticContext stc,
VarScope scp,
java.lang.String xqdoc,
InputInfo ii)
Function constructor. |
Uses of Var in org.basex.query.gflwor |
---|
Fields in org.basex.query.gflwor declared as Var | |
---|---|
Var |
Let.var
Variable. |
Var |
GroupBy.Spec.var
Grouping variable. |
Methods in org.basex.query.gflwor that return Var | |
---|---|
Var[] |
GFLWOR.Clause.vars()
All declared variables of this clause. |
Methods in org.basex.query.gflwor with parameters of type Var | |
---|---|
VarUsage |
Let.count(Var v)
|
VarUsage |
Where.count(Var v)
|
VarUsage |
Window.count(Var v)
|
VarUsage |
For.count(Var v)
|
VarUsage |
GroupBy.count(Var v)
|
VarUsage |
Count.count(Var v)
|
VarUsage |
GFLWOR.count(Var v)
|
VarUsage |
OrderBy.count(Var v)
|
boolean |
GFLWOR.Clause.declares(Var v)
Checks if the given variable is declared by this clause. |
GFLWOR.Clause |
Let.inline(QueryContext ctx,
VarScope scp,
Var v,
Expr e)
|
GFLWOR.Clause |
Where.inline(QueryContext ctx,
VarScope scp,
Var v,
Expr e)
|
GFLWOR.Clause |
Window.inline(QueryContext ctx,
VarScope scp,
Var v,
Expr e)
|
Window.Condition |
Window.Condition.inline(QueryContext ctx,
VarScope scp,
Var v,
Expr e)
|
GFLWOR.Clause |
For.inline(QueryContext ctx,
VarScope scp,
Var v,
Expr e)
|
GFLWOR.Clause |
GroupBy.inline(QueryContext ctx,
VarScope scp,
Var v,
Expr e)
|
GFLWOR.Clause |
Count.inline(QueryContext ctx,
VarScope scp,
Var v,
Expr e)
|
Expr |
GFLWOR.inline(QueryContext ctx,
VarScope scp,
Var v,
Expr e)
|
abstract GFLWOR.Clause |
GFLWOR.Clause.inline(QueryContext ctx,
VarScope scp,
Var v,
Expr e)
|
GFLWOR.Clause |
OrderBy.inline(QueryContext ctx,
VarScope scp,
Var v,
Expr e)
|
boolean |
Let.removable(Var v)
|
boolean |
Where.removable(Var v)
|
boolean |
Window.removable(Var v)
|
boolean |
For.removable(Var v)
|
boolean |
GroupBy.removable(Var v)
|
boolean |
Count.removable(Var v)
|
boolean |
GFLWOR.removable(Var v)
|
boolean |
OrderBy.removable(Var v)
|
Method parameters in org.basex.query.gflwor with type arguments of type Var | |
---|---|
Let |
Let.copy(QueryContext ctx,
VarScope scp,
IntObjMap<Var> vs)
|
Where |
Where.copy(QueryContext ctx,
VarScope scp,
IntObjMap<Var> vs)
|
Window |
Window.copy(QueryContext ctx,
VarScope scp,
IntObjMap<Var> vs)
|
Window.Condition |
Window.Condition.copy(QueryContext ctx,
VarScope scp,
IntObjMap<Var> vs)
|
For |
For.copy(QueryContext ctx,
VarScope scp,
IntObjMap<Var> vs)
|
GroupBy |
GroupBy.copy(QueryContext ctx,
VarScope scp,
IntObjMap<Var> vs)
|
Expr |
GroupBy.Spec.copy(QueryContext ctx,
VarScope scp,
IntObjMap<Var> vs)
|
Count |
Count.copy(QueryContext ctx,
VarScope scp,
IntObjMap<Var> vs)
|
Expr |
GFLWOR.copy(QueryContext ctx,
VarScope scp,
IntObjMap<Var> vs)
|
abstract GFLWOR.Clause |
GFLWOR.Clause.copy(QueryContext ctx,
VarScope scp,
IntObjMap<Var> vs)
|
OrderBy |
OrderBy.copy(QueryContext ctx,
VarScope scp,
IntObjMap<Var> vs)
|
OrderBy.Key |
OrderBy.Key.copy(QueryContext ctx,
VarScope scp,
IntObjMap<Var> vs)
|
Constructors in org.basex.query.gflwor with parameters of type Var | |
---|---|
Count(Var v,
InputInfo ii)
Constructor. |
|
For(Var v,
Var p,
Var s,
Expr e,
boolean emp,
InputInfo ii)
Constructor. |
|
GFLWOR.Clause(InputInfo ii,
Var... vs)
Constructor. |
|
GroupBy.Spec(InputInfo ii,
Var v,
Expr e,
Collation cl)
Constructor. |
|
GroupBy(GroupBy.Spec[] gs,
VarRef[] pr,
Var[] pst,
InputInfo ii)
Constructor. |
|
Let(Var v,
Expr e,
boolean scr,
InputInfo ii)
Constructor. |
|
Window.Condition(boolean st,
Var it,
Var p,
Var pr,
Var nx,
Expr cond,
InputInfo ii)
Constructor. |
|
Window(InputInfo ii,
boolean slide,
Var v,
Expr in,
Window.Condition st,
boolean o,
Window.Condition nd)
Constructor. |
Uses of Var in org.basex.query.path |
---|
Methods in org.basex.query.path with parameters of type Var | |
---|---|
VarUsage |
Step.count(Var v)
|
VarUsage |
Path.count(Var v)
|
Expr |
Step.inline(QueryContext ctx,
VarScope scp,
Var v,
Expr e)
|
Expr |
Path.inline(QueryContext ctx,
VarScope scp,
Var v,
Expr e)
|
boolean |
MixedPath.removable(Var v)
|
boolean |
AxisPath.removable(Var v)
|
boolean |
Path.removable(Var v)
|
Method parameters in org.basex.query.path with type arguments of type Var | |
---|---|
Expr |
MixedPath.copy(QueryContext ctx,
VarScope scp,
IntObjMap<Var> vs)
|
abstract Step |
Step.copy(QueryContext ctx,
VarScope scp,
IntObjMap<Var> vs)
|
Expr |
Bang.copy(QueryContext ctx,
VarScope scp,
IntObjMap<Var> vs)
|
Uses of Var in org.basex.query.up.expr |
---|
Methods in org.basex.query.up.expr with parameters of type Var | |
---|---|
VarUsage |
Transform.count(Var v)
|
Expr |
Transform.inline(QueryContext ctx,
VarScope scp,
Var v,
Expr e)
|
boolean |
Transform.removable(Var v)
|
Method parameters in org.basex.query.up.expr with type arguments of type Var | |
---|---|
Expr |
Transform.copy(QueryContext ctx,
VarScope scp,
IntObjMap<Var> vs)
|
Expr |
Delete.copy(QueryContext ctx,
VarScope scp,
IntObjMap<Var> vs)
|
Expr |
Insert.copy(QueryContext ctx,
VarScope scp,
IntObjMap<Var> vs)
|
Expr |
Replace.copy(QueryContext ctx,
VarScope scp,
IntObjMap<Var> vs)
|
Expr |
Rename.copy(QueryContext ctx,
VarScope scp,
IntObjMap<Var> vs)
|
Uses of Var in org.basex.query.util |
---|
Methods in org.basex.query.util with parameters of type Var | |
---|---|
boolean |
ASTVisitor.declared(Var count)
Notifies the visitor of a variable declaration. |
Uses of Var in org.basex.query.value |
---|
Methods in org.basex.query.value with parameters of type Var | |
---|---|
VarUsage |
Value.count(Var v)
|
Expr |
Value.inline(QueryContext ctx,
VarScope scp,
Var v,
Expr e)
|
boolean |
Value.removable(Var v)
|
Method parameters in org.basex.query.value with type arguments of type Var | |
---|---|
Value |
Value.copy(QueryContext ctx,
VarScope scp,
IntObjMap<Var> vs)
|
Uses of Var in org.basex.query.value.item |
---|
Constructors in org.basex.query.value.item with parameters of type Var | |
---|---|
FuncItem(QNm n,
Var[] arg,
Expr body,
FuncType t,
boolean cst,
java.util.Map<Var,Value> cls,
VarScope scp,
StaticContext sctx,
StaticFunc sf)
Constructor. |
|
FuncItem(QNm n,
Var[] arg,
Expr body,
FuncType t,
boolean cst,
Value vl,
long ps,
long sz,
java.util.Map<Var,Value> cls,
VarScope scp,
StaticContext sctx,
StaticFunc sf)
Constructor. |
|
FuncItem(QNm n,
Var[] arg,
Expr body,
FuncType t,
VarScope scp,
StaticContext sctx,
StaticFunc sf)
Constructor. |
|
FuncItem(Var[] arg,
Expr body,
FuncType t,
java.util.Map<Var,Value> cl,
boolean cst,
VarScope scp,
StaticContext sctx)
Constructor for anonymous functions. |
Constructor parameters in org.basex.query.value.item with type arguments of type Var | |
---|---|
FuncItem(QNm n,
Var[] arg,
Expr body,
FuncType t,
boolean cst,
java.util.Map<Var,Value> cls,
VarScope scp,
StaticContext sctx,
StaticFunc sf)
Constructor. |
|
FuncItem(QNm n,
Var[] arg,
Expr body,
FuncType t,
boolean cst,
Value vl,
long ps,
long sz,
java.util.Map<Var,Value> cls,
VarScope scp,
StaticContext sctx,
StaticFunc sf)
Constructor. |
|
FuncItem(Var[] arg,
Expr body,
FuncType t,
java.util.Map<Var,Value> cl,
boolean cst,
VarScope scp,
StaticContext sctx)
Constructor for anonymous functions. |
Uses of Var in org.basex.query.value.node |
---|
Method parameters in org.basex.query.value.node with type arguments of type Var | |
---|---|
Value |
DBNode.copy(QueryContext ctx,
VarScope scp,
IntObjMap<Var> vs)
|
Uses of Var in org.basex.query.value.type |
---|
Methods in org.basex.query.value.type with parameters of type Var | |
---|---|
Expr[] |
FuncType.args(Var[] vs,
QueryContext ctx,
VarScope scp,
InputInfo ii)
Creates variables with types corresponding to this type's arguments. |
static FuncType |
FuncType.get(Ann an,
Var[] args,
SeqType ret)
Getter for a function's type. |
Uses of Var in org.basex.query.var |
---|
Fields in org.basex.query.var declared as Var | |
---|---|
Var |
VarRef.var
Variable name. |
Var[] |
VarStack.vars
Variable expressions. |
Methods in org.basex.query.var that return Var | |
---|---|
Var |
VarStack.get(QNm name)
Returns a variable with the specified name; should only be used while parsing because it ignores ids of variables. |
Var |
VarScope.newCopyOf(QueryContext ctx,
Var var)
Creates a new copy of the given variable in this scope. |
Var |
VarScope.newLocal(QueryContext ctx,
QNm name,
SeqType typ,
boolean param)
Creates a new local variable in this scope. |
Var |
VarScope.uniqueVar(QueryContext ctx,
SeqType type,
boolean param)
Creates a variable with a unique, non-clashing variable name. |
Methods in org.basex.query.var that return types with arguments of type Var | |
---|---|
java.util.Map<Var,Expr> |
VarScope.closure()
Get the closure of this scope. |
Methods in org.basex.query.var with parameters of type Var | |
---|---|
VarUsage |
VarRef.count(Var v)
|
VarUsage |
StaticVarRef.count(Var v)
|
Expr |
VarRef.inline(QueryContext ctx,
VarScope scp,
Var v,
Expr e)
|
Expr |
StaticVarRef.inline(QueryContext ctx,
VarScope scp,
Var v,
Expr e)
|
boolean |
Var.is(Var v)
Checks whether the given variable is identical to this one, i.e. |
static VarUsage |
VarUsage.maximum(Var v,
Expr... es)
Checks how often the given variable is used in any of the given expressions. |
Var |
VarScope.newCopyOf(QueryContext ctx,
Var var)
Creates a new copy of the given variable in this scope. |
void |
VarStack.push(Var v)
Adds the specified variable. |
boolean |
VarRef.removable(Var v)
|
boolean |
StaticVarRef.removable(Var v)
|
static VarUsage |
VarUsage.sum(Var v,
Expr... es)
Checks how often the given variable is accessed in all of the given expressions. |
Method parameters in org.basex.query.var with type arguments of type Var | |
---|---|
VarScope |
VarScope.copy(QueryContext ctx,
VarScope scp,
IntObjMap<Var> vs)
Copies this VarScope. |
VarRef |
VarRef.copy(QueryContext ctx,
VarScope scp,
IntObjMap<Var> vs)
|
Expr |
StaticVarRef.copy(QueryContext ctx,
VarScope scp,
IntObjMap<Var> vs)
|
Constructors in org.basex.query.var with parameters of type Var | |
---|---|
VarRef(InputInfo ii,
Var v)
Constructor. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |