MCPcopy Create free account
hub / github.com/BaseXdb/basex / add

Method add

basex-core/src/main/java/org/basex/query/QueryParser.java:4736–4739  ·  view source on GitHub ↗

Adds an expression to the specified array. @param ar input array @param expr new expression @throws QueryException query exception

(final ExprList ar, final Expr expr)

Source from the content-addressed store, hash-verified

4734 * @throws QueryException query exception
4735 */
4736 private void add(final ExprList ar, final Expr expr) throws QueryException {
4737 if(expr == null) throw error(INCOMPLETE);
4738 ar.add(expr);
4739 }
4740
4741 /**
4742 * Creates the specified error.

Callers 15

exprMethod · 0.95
switchhMethod · 0.95
orMethod · 0.95
andMethod · 0.95
otherwiseMethod · 0.95
stringConcatMethod · 0.95
unionMethod · 0.95
intersectMethod · 0.95
pipelineMethod · 0.95
itemMapMethod · 0.95
pathMethod · 0.95
relativePathMethod · 0.95

Calls 2

errorMethod · 0.95
addMethod · 0.65

Tested by

no test coverage detected