Package org.basex.query.scope
Class StaticDecl
java.lang.Object
org.basex.query.expr.ExprInfo
org.basex.query.scope.StaticScope
org.basex.query.scope.StaticDecl
- All Implemented Interfaces:
Scope
- Direct Known Subclasses:
StaticFunc,StaticVar
Common superclass for static functions and variables.
- Author:
- BaseX Team 2005-21, BSD License, Leo Woerteler
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.basex.query.scope.StaticScope
compiled, docMethods inherited from class org.basex.query.expr.ExprInfo
description, plan, plan, toErrorString, toString
-
Field Details
-
anns
Annotations. -
name
Name of the declaration. -
declType
Declared type,nullif not specified. -
dontEnter
protected boolean dontEnterFlag that is set during compilation and execution and prevents infinite loops.
-
-
Constructor Details
-
Method Details
-
id
public abstract byte[] id()Returns a unique identifier for this declaration.- Returns:
- a byte sequence that uniquely identifies this declaration
-
seqType
Returns the type of this expression. If no type has been declared in the expression, it is derived from the expression type.- Returns:
- return type
-