Package org.basex.query.scope
Class StaticScope
java.lang.Object
org.basex.query.expr.ExprInfo
org.basex.query.scope.StaticScope
- All Implemented Interfaces:
Scope
- Direct Known Subclasses:
AModule,StaticDecl
Superclass for static functions, variables and the main expression.
- Author:
- BaseX Team 2005-21, BSD License, Leo Woerteler
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionfinal booleancompiled()Checks if this scope has already been compiled.final TokenObjMap<TokenList>doc()Returns a map with all documentation tags found for this scope ornullif no documentation exists.Methods inherited from class org.basex.query.expr.ExprInfo
description, plan, plan, toErrorString, toString
-
Field Details
-
sc
Static context. -
vs
Variable scope. -
info
Input info. -
expr
Root expression of this declaration (nullif this is an external function). -
compiled
protected boolean compiledCompilation flag.
-
-
Method Details
-
compiled
public final boolean compiled()Description copied from interface:ScopeChecks if this scope has already been compiled. -
doc
Returns a map with all documentation tags found for this scope ornullif no documentation exists. The main description is flagged with the "description" key. The supported tags are defined inInspect.DOC_TAGS(other tags will be included in the map, too).- Returns:
- documentation or
null
-