|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.basex.data.ExprInfo
org.basex.query.StaticScope
public abstract class StaticScope
Superclass for static functions, variables and the main expression.
Field Summary | |
---|---|
protected boolean |
compiled
Compilation flag. |
Expr |
expr
Root expression of this declaration. |
InputInfo |
info
Input info. |
protected VarScope |
scope
Variable scope. |
Constructor Summary | |
---|---|
StaticScope(VarScope scp,
java.lang.String xqdoc,
InputInfo ii)
Constructor. |
Method Summary | |
---|---|
boolean |
compiled()
Checks if this scope has already been compiled. |
TokenObjMap<TokenList> |
doc()
Returns a map with all documentation tags found for this scope, or null if
no documentation exists. |
Methods inherited from class org.basex.data.ExprInfo |
---|
addPlan, addPlan, description, info, plan, planAttr, planElem, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.basex.query.Scope |
---|
compile, visit |
Field Detail |
---|
protected final VarScope scope
public final InputInfo info
public Expr expr
protected boolean compiled
Constructor Detail |
---|
public StaticScope(VarScope scp, java.lang.String xqdoc, InputInfo ii)
scp
- variable scopeii
- input infoxqdoc
- documentation (may be null
or empty)Method Detail |
---|
public final boolean compiled()
Scope
compiled
in interface Scope
public TokenObjMap<TokenList> doc()
null
if
no documentation exists. The main description is flagged with the "description" key.
The supported tags are defined in QueryText.DOC_TAGS
(other tags will be
included in the map, too).
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |