Skip to content

Commit eff90b0

Browse files
childrenIterator: jsdoc
1 parent 09d7822 commit eff90b0

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

lib/SymbolTree.js

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -303,6 +303,16 @@ class SymbolTree {
303303
return array;
304304
}
305305

306+
/**
307+
* Iterate over all children of the given object to an array.
308+
*
309+
* `O(1)` (per iterate step)
310+
*
311+
* @method childrenIterator
312+
* @memberOf module:symbol-tree#
313+
* @param {Object} parent
314+
* @return {Object} An iterable iterator (ES6)
315+
*/
306316
childrenIterator(parent) {
307317
const _node = this._node.bind(this);
308318

0 commit comments

Comments
 (0)