Package org.basex.query.expr
Class DBPragma
- java.lang.Object
-
- org.basex.query.expr.ExprInfo
-
- org.basex.query.expr.Pragma
-
- org.basex.query.expr.DBPragma
-
public final class DBPragma extends Pragma
Pragma for database options.- Author:
- BaseX Team 2005-24, BSD License, Leo Woerteler
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
accept(ASTVisitor visitor)
Pragma
copy()
Creates a copy of this pragma.boolean
equals(Object obj)
Must be overwritten by implementing class.boolean
has(Flag... flags)
Indicates if an expression has one of the specified compiler properties.boolean
simplify()
Indicates if the pragma can be simplified.-
Methods inherited from class org.basex.query.expr.ExprInfo
description, info, toErrorString, toString
-
-
-
-
Method Detail
-
has
public boolean has(Flag... flags)
Description copied from class:Pragma
Indicates if an expression has one of the specified compiler properties.- Specified by:
has
in classPragma
- Parameters:
flags
- flag to be checked- Returns:
- result of check
- See Also:
Expr.has(Flag...)
-
accept
public void accept(ASTVisitor visitor)
-
simplify
public boolean simplify()
Description copied from class:Pragma
Indicates if the pragma can be simplified.
-
-