Package org.basex.query.expr.constr
Class Constr
java.lang.Object
org.basex.query.expr.constr.Constr
Element constructor.
- Author:
- BaseX Team 2005-21, BSD License, Christian Gruen
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionConstr(InputInfo info, StaticContext sc) Creates the children of the constructor. -
Method Summary
Modifier and TypeMethodDescriptionadd(QueryContext qc, Expr... exprs) Constructs child and attribute nodes.
-
Field Details
-
children
Node array. -
atts
Attribute array. -
errAtt
Error: attribute position. -
duplAtt
Error: duplicate attribute.
-
-
Constructor Details
-
Constr
Creates the children of the constructor.- Parameters:
info- input infosc- static context
-
-
Method Details
-
add
Constructs child and attribute nodes.- Parameters:
qc- query contextexprs- input expressions- Returns:
- self reference
- Throws:
QueryException- query exception
-