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

Method addDesc

basex-core/src/main/java/org/basex/index/path/PathNode.java:161–164  ·  view source on GitHub ↗

Recursively adds the node and its descendants to the specified list. @param nodes node list

(final ArrayList<PathNode> nodes)

Source from the content-addressed store, hash-verified

159 * @param nodes node list
160 */
161 void addDesc(final ArrayList<PathNode> nodes) {
162 nodes.add(this);
163 for(final PathNode child : children) child.addDesc(nodes);
164 }
165
166 /**
167 * Recursively adds the node and its descendants to the specified list with the specified name.

Callers 1

descMethod · 0.80

Calls 1

addMethod · 0.65

Tested by

no test coverage detected