MCPcopy
hub / github.com/rollup/rollup / includePath

Method includePath

src/ast/variables/ArgumentsVariable.ts:31–37  ·  view source on GitHub ↗
(path: ObjectPath, context: InclusionContext)

Source from the content-addressed store, hash-verified

29 }
30
31 includePath(path: ObjectPath, context: InclusionContext) {
32 super.includePath(path, context);
33 for (const argument of this.deoptimizedArguments!) {
34 argument.deoptimizePath(UNKNOWN_PATH);
35 }
36 this.deoptimizedArguments!.length = 0;
37 }
38}
39
40function addArgumentToBeDeoptimized(this: ArgumentsVariable, argument: ExpressionEntity) {

Callers

nothing calls this directly

Calls 2

includePathMethod · 0.65
deoptimizePathMethod · 0.65

Tested by

no test coverage detected