Package org.basex.query.scope
Class LibraryModule
java.lang.Object
org.basex.query.expr.ExprInfo
org.basex.query.scope.StaticScope
org.basex.query.scope.AModule
org.basex.query.scope.LibraryModule
- All Implemented Interfaces:
Scope
An XQuery library module.
- Author:
- BaseX Team 2005-21, BSD License, Leo Woerteler
-
Field Summary
-
Constructor Summary
ConstructorsConstructorDescriptionLibraryModule(String doc, TokenObjMap<StaticFunc> funcs, TokenObjMap<StaticVar> vars, TokenSet modules, StaticContext sc) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionvoidcomp(CompileContext cc) Compiles the expression contained in this scope.voidCreates a query plan.voidplan(QueryString qs) Creates a query string.booleanvisit(ASTVisitor visitor) Traverses this scope with the givenASTVisitor.Methods inherited from class org.basex.query.scope.StaticScope
compiled, docMethods inherited from class org.basex.query.expr.ExprInfo
description, toErrorString, toString
-
Constructor Details
-
LibraryModule
public LibraryModule(String doc, TokenObjMap<StaticFunc> funcs, TokenObjMap<StaticVar> vars, TokenSet modules, StaticContext sc) Constructor.- Parameters:
doc- documentationfuncs- user-defined functionsvars- static variablesmodules- imported modulessc- static context
-
-
Method Details
-
visit
Description copied from interface:ScopeTraverses this scope with the givenASTVisitor.- Parameters:
visitor- visitor- Returns:
- continue flag
-
comp
Description copied from interface:ScopeCompiles the expression contained in this scope.- Parameters:
cc- compilation context
-
plan
Description copied from class:ExprInfoCreates a query plan. -
plan
Description copied from class:ExprInfoCreates a query string.
-