Package org.basex.query.expr
Class ExprInfo
java.lang.Object
org.basex.query.expr.ExprInfo
- Direct Known Subclasses:
Expr,FTOpt,Pragma,StaticFuncs,StaticScope,Test,Var,Variables
Expression information, used for debugging and logging.
- Author:
- BaseX Team 2005-21, BSD License, Christian Gruen
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns a string description of the expression.abstract voidCreates a query plan.abstract voidplan(QueryString qs) Creates a query string.Returns a string representation of the expression that can be embedded in error messages.final StringtoString()
-
Constructor Details
-
ExprInfo
public ExprInfo()
-
-
Method Details
-
description
Returns a string description of the expression. This method is only called by error messages. Contrary to thetoString()method, arguments are not included in the output.- Returns:
- result of check
-
plan
Creates a query plan.- Parameters:
plan- expression plan
-
plan
Creates a query string.- Parameters:
qs- query string builder
-
toErrorString
Returns a string representation of the expression that can be embedded in error messages. Defaults totoString().- Returns:
- class name
-
toString
-