public final class StaticVar extends StaticDecl
anns, declType, dontEnter, name
Modifier and Type | Method and Description |
---|---|
void |
compile(QueryContext qc)
Compiles the expression contained in this scope.
|
byte[] |
id()
Returns a unique identifier for this declaration.
|
void |
plan(FElem plan)
Creates an expression tree.
|
String |
toString() |
boolean |
visit(ASTVisitor visitor)
Traverses this scope with the given
ASTVisitor . |
seqType
compiled, doc
addPlan, addPlan, description, planAttr, planElem, toErrorString
public void compile(QueryContext qc) throws QueryException
Scope
qc
- query contextQueryException
- compilation errorspublic void plan(FElem plan)
ExprInfo
public boolean visit(ASTVisitor visitor)
Scope
ASTVisitor
.visitor
- visitorpublic byte[] id()
StaticDecl
id
in class StaticDecl
Copyright © 2005–2015 BaseX Team. All rights reserved.