MCPcopy
hub / github.com/rollup/rollup / includeCallArguments

Method includeCallArguments

src/ast/scopes/FunctionScope.ts:29–41  ·  view source on GitHub ↗
(interaction: NodeInteractionCalled, context: InclusionContext)

Source from the content-addressed store, hash-verified

27 }
28
29 includeCallArguments(interaction: NodeInteractionCalled, context: InclusionContext): void {
30 super.includeCallArguments(interaction, context);
31 if (this.argumentsVariable.included) {
32 const { args } = interaction;
33 for (let argumentIndex = 1; argumentIndex < args.length; argumentIndex++) {
34 const argument = args[argumentIndex];
35 if (argument) {
36 argument.includePath(UNKNOWN_PATH, context);
37 argument.include(context, false);
38 }
39 }
40 }
41 }
42
43 protected addArgumentToBeDeoptimized(argument: ExpressionEntity) {
44 this.argumentsVariable.addArgumentToBeDeoptimized(argument);

Callers

nothing calls this directly

Calls 3

includeCallArgumentsMethod · 0.65
includePathMethod · 0.65
includeMethod · 0.65

Tested by

no test coverage detected