|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.basex.query.ExprInfo
org.basex.query.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(QueryContext ctx)
Compiles the variables. |
Var |
get(Var var)
Finds the specified variable. |
Vars |
getGlobal()
Returns the global variables. |
void |
plan(Serializer ser)
Recursively sends the abstract syntax of this expression to the specified serializer. |
void |
reset(int s)
Resets the number of local variables. |
int |
size()
Returns the current number of local variables. |
String |
toString()
|
| Methods inherited from class org.basex.query.ExprInfo |
|---|
color, info, name |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Variables()
| Method Detail |
|---|
public void addGlobal(Var v)
v - variablepublic Vars getGlobal()
public void add(Var v)
v - variablepublic Var get(Var var)
var - variable
public int size()
public void reset(int s)
s - number of variables to be set
public void comp(QueryContext ctx)
throws QueryException
ctx - query context
QueryException - query exceptionpublic String toString()
toString in class ExprInfo
public void plan(Serializer ser)
throws IOException
ExprInfo
plan in class ExprInfoser - serializer
IOException - I/O exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||