|
||||||||||
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
org.basex.query.StaticDecl
public abstract class StaticDecl
Common superclass for static functions and variables.
Field Summary | |
---|---|
Ann |
ann
Annotations. |
SeqType |
declType
Declared type, null if not specified. |
protected boolean |
dontEnter
Flag that is set during compilation and execution and prevents infinite loops. |
QNm |
name
This declaration's name. |
StaticContext |
sc
Static context of this declaration. |
Fields inherited from class org.basex.query.StaticScope |
---|
compiled, expr, info, scope |
Constructor Summary | |
---|---|
StaticDecl(StaticContext sctx,
Ann a,
QNm nm,
SeqType t,
VarScope scp,
java.lang.String xqdoc,
InputInfo ii)
Constructor. |
Method Summary | |
---|---|
abstract byte[] |
id()
Returns a unique identifier for this declaration. |
SeqType |
type()
Returns the type of this expression. |
Methods inherited from class org.basex.query.StaticScope |
---|
compiled, doc |
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 |
---|
public final StaticContext sc
public final Ann ann
public final QNm name
public final SeqType declType
null
if not specified.
protected boolean dontEnter
Constructor Detail |
---|
public StaticDecl(StaticContext sctx, Ann a, QNm nm, SeqType t, VarScope scp, java.lang.String xqdoc, InputInfo ii)
sctx
- static contexta
- annotationsnm
- namet
- declared return typescp
- variable scopexqdoc
- documentationii
- input infoMethod Detail |
---|
public abstract byte[] id()
public SeqType type()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |