MCPcopy Create free account
hub / github.com/jsdoc/jsdoc / clear

Method clear

lib/jsdoc/src/parser.js:132–145  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

130
131 // TODO: docs
132 clear() {
133 this._resultBuffer = [];
134 this._resultBuffer.index = {
135 borrowed: [],
136 documented: {},
137 longname: {},
138 memberof: {}
139 };
140 this._byNodeId = new DocletCache();
141 this._byLongname = new DocletCache();
142 this._byLongname.put(jsdoc.name.LONGNAMES.GLOBAL, {
143 meta: {}
144 });
145 }
146
147 // TODO: update docs
148 /**

Callers 2

constructorMethod · 0.95
overloadHelper.jsFile · 0.80

Calls 1

putMethod · 0.80

Tested by

no test coverage detected