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)
| 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. |