Method
item
(final QueryContext qc, final InputInfo ii)
Source from the content-addressed store, hash-verified
| 14 | */ |
| 15 | public class FnName extends FnNodeName { |
| 16 | @Override |
| 17 | public final Str item(final QueryContext qc, final InputInfo ii) throws QueryException { |
| 18 | final XNode node = toNodeOrNull(context(qc), qc); |
| 19 | return node == null || empty(node.kind()) ? Str.EMPTY : Str.get(name(node)); |
| 20 | } |
| 21 | |
| 22 | @Override |
| 23 | protected final Expr opt(final CompileContext cc) { |
Callers
nothing calls this directly
Tested by
no test coverage detected