MCPcopy
hub / github.com/jsdoc/jsdoc / visit

Method visit

lib/jsdoc/augment.js:47–59  ·  view source on GitHub ↗
(key)

Source from the content-addressed store, hash-verified

45 }
46
47 visit(key) {
48 if (!(key in this.visited)) {
49 this.visited[key] = true;
50
51 if (this.dependencies[key]) {
52 Object.keys(this.dependencies[key]).forEach(path => {
53 this.visit(path);
54 });
55 }
56
57 this.sorted.push(key);
58 }
59 }
60
61 sort() {
62 Object.keys(this.dependencies).forEach(key => {

Callers 1

sortMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected