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

Method iter

basex-core/src/main/java/org/basex/query/expr/path/Axis.java:19–22  ·  view source on GitHub ↗
(final GNode node, final Test test)

Source from the content-addressed store, hash-verified

17 /** Ancestor-or-self axis. */
18 ANCESTOR_OR_SELF("ancestor-or-self", false) {
19 @Override
20 BasicNodeIter iter(final GNode node, final Test test) {
21 return node.ancestorIter(true);
22 }
23 },
24
25 /** Ancestor axis. */

Callers

nothing calls this directly

Calls 10

parentIterMethod · 0.80
precedingSiblingIterMethod · 0.80
precedingIterMethod · 0.80
selfIterMethod · 0.80
ancestorIterMethod · 0.45
attributeIterMethod · 0.45
childIterMethod · 0.45
descendantIterMethod · 0.45
followingSiblingIterMethod · 0.45
followingIterMethod · 0.45

Tested by

no test coverage detected