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

Method include

src/ast/nodes/Program.ts:58–65  ·  view source on GitHub ↗
(context: InclusionContext, includeChildrenRecursively: IncludeChildren)

Source from the content-addressed store, hash-verified

56 }
57
58 include(context: InclusionContext, includeChildrenRecursively: IncludeChildren): void {
59 this.included = true;
60 for (const node of this.body) {
61 if (includeChildrenRecursively || node.shouldBeIncluded(context)) {
62 node.include(context, includeChildrenRecursively);
63 }
64 }
65 }
66
67 initialise() {
68 super.initialise();

Callers

nothing calls this directly

Calls 2

shouldBeIncludedMethod · 0.65
includeMethod · 0.65

Tested by

no test coverage detected