|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.basex.query.xquery.util.Variables
public final class Variables
Variables.
| Constructor Summary | |
|---|---|
Variables()
|
|
| Method Summary | |
|---|---|
void |
add(Var v)
Indexes a local variable. |
void |
addGlobal(Var v)
Indexes a global variable. |
void |
comp(XQContext ctx)
Compiles the functions. |
Var |
get(Var var)
Finds the specified variable. |
Item |
get(Var var,
XQContext ctx)
Returns a variable expression. |
void |
reset(int s)
Sets the number of local variables. |
Var |
score()
Returns a scoring variable. |
int |
size()
Returns the current number of local variables. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Variables()
| Method Detail |
|---|
public void add(Var v)
v - variablepublic void addGlobal(Var v)
v - variable
public void comp(XQContext ctx)
throws XQException
ctx - xquery context
XQException - xquery exceptionpublic Var get(Var var)
var - variable
public Item get(Var var,
XQContext ctx)
throws XQException
var - variablectx - query context
XQException - evaluation exceptionpublic void reset(int s)
s - number of variables to be setpublic Var score()
public int size()
public java.lang.String toString()
toString in class java.lang.Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||