MCPcopy Index your code
hub / github.com/nodejs/node / exportValues

Method exportValues

deps/v8/tools/splaytree.mjs:187–191  ·  view source on GitHub ↗

* @return {Array<*>} An array containing all the values of tree's nodes.

()

Source from the content-addressed store, hash-verified

185 * @return {Array<*>} An array containing all the values of tree's nodes.
186 */
187 exportValues() {
188 const result = [];
189 this.traverse_(function(node) { result.push(node.value) });
190 return result;
191 }
192
193 /**
194 * Perform the splay operation for the given key. Moves the node with

Callers 4

getAllDynamicEntriesMethod · 0.80
getAllStaticEntriesMethod · 0.80
getAllLibraryEntriesMethod · 0.80
splaytree.mjsFile · 0.80

Calls 2

traverse_Method · 0.95
pushMethod · 0.45

Tested by

no test coverage detected