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

Method toMap

basex-core/src/main/java/org/basex/query/expr/ParseExpr.java:766–768  ·  view source on GitHub ↗

Evaluates an expression to a map. @param expr expression @param qc query context @return map @throws QueryException query exception

(final Expr expr, final QueryContext qc)

Source from the content-addressed store, hash-verified

764 * @throws QueryException query exception
765 */
766 protected final XQMap toMap(final Expr expr, final QueryContext qc) throws QueryException {
767 return toMap(expr.unwrappedItem(qc, info));
768 }
769
770 /**
771 * Converts an item to a map.

Callers 15

compileMethod · 0.45
valueMethod · 0.45
itemMethod · 0.45
toEmptyMapMethod · 0.45
indexMethod · 0.45
valueMethod · 0.45
itemMethod · 0.45
itemMethod · 0.45
itemMethod · 0.45
itemMethod · 0.45
valueMethod · 0.45
itemMethod · 0.45

Calls 2

unwrappedItemMethod · 0.80
typeErrorMethod · 0.45

Tested by

no test coverage detected