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

Method entry

basex-core/src/main/java/org/basex/query/func/fn/PlanFn.java:264–268  ·  view source on GitHub ↗

Returns a matching layout for the specified element. @param node node @param plan plan @return layout

(final GNode node, final Plan plan)

Source from the content-addressed store, hash-verified

262 * @return layout
263 */
264 final PlanEntry entry(final GNode node, final Plan plan) {
265 PlanEntry pe = plan.entries.get(node.qname());
266 if(pe == null) pe = plan.entries.get(QNm.EMPTY);
267 return pe != null ? pe : entry(node);
268 }
269
270 /**
271 * Returns a plan entry for the specified nodes.

Callers 5

listMethod · 0.95
recordMethod · 0.95
mixedMethod · 0.95
itemMethod · 0.45
itemMethod · 0.45

Calls 11

childrenMethod · 0.95
getMethod · 0.95
emptyMethod · 0.95
equalNamesMethod · 0.95
getMethod · 0.95
anyMethod · 0.80
getMethod · 0.65
sizeMethod · 0.65
allMethod · 0.65
qnameMethod · 0.45
isEmptyMethod · 0.45

Tested by

no test coverage detected