MCPcopy Index your code
hub / github.com/rollup/rollup / includePath

Method includePath

src/ast/variables/Variable.ts:115–118  ·  view source on GitHub ↗

* Marks this variable as being part of the bundle, which is usually the case * when one of its identifiers becomes part of the bundle. Returns true if it * has not been included previously. Once a variable is included, it should * take care all its declarations are included.

(path: ObjectPath, context: InclusionContext)

Source from the content-addressed store, hash-verified

113 * take care all its declarations are included.
114 */
115 includePath(path: ObjectPath, context: InclusionContext): void {
116 this.included = true;
117 this.renderedLikeHoisted?.includePath(path, context);
118 }
119
120 /**
121 * Links the rendered name of this variable to another variable and includes

Callers

nothing calls this directly

Calls 1

includePathMethod · 0.65

Tested by

no test coverage detected