ConstFind all arguments of a function call that have a given argument property using the function signature.
The function arguments as the graph holds them.
The function signature whose names are the targets.
The ArgProps the function arguments should have.
The value ids of the matching arguments.
The formal names a call binds against, whichever of flowR's sources knows them; see formalsOf.
Binds a call's graph args to the params of the definition it calls and mutates graph, adding an
EdgeType.DefinesOnCall and a EdgeType.DefinedByOnCall edge per bound pair. It is the only
member here that writes anything.
The arguments as the graph holds them.
The parameters of the called definition, in order.
The graph the edges are added to.
The argument id to parameter id mapping the edges were drawn for.
Binds a call's arguments to the formals of whatever it calls, looking the formals up itself. It takes them
from the RFunctionDefinition the call resolves to in user code, and from the database signature at
the version the analysis assumes otherwise (see SignatureDb). undefined when it resolves to
neither, so fall back to a hardcoded list then.
graph is what says which definition a name reaches here, because scoping, shadowing and control flow
decide that and a name alone cannot. It therefore needs a finished graph rather than one under
construction. Cost is one Dataflow.origin lookup plus, for a package call, decoding that one
function.
The call whose arguments are to be bound.
The finished graph the call was analyzed into.
The analyzer context the database and the assumed versions come from.
Per formal name the argument bound to it, undefined if the formals could not be found.
Binds a call's AST args to the formal paramNames. An empty argument (f(1, ,3)) takes its formal but
never appears here. Arguments falling to ... share that key, so only the last survives; use
MatchArgs.toSpec to keep them all.
The arguments as they stand in the normalized AST.
The formals of the called function, in order.
Per formal name the argument bound to it.
RFunctionCall.matchArgsToParams - the implementation, kept there to avoid a load-time import cycle.
Binds a call's graph args against the formals, reading nothing from the graph, so it also serves a
function whose parameters are not in the AST at all. Name '...' in a specification unless the function
really has none, as that is what collects arguments finding no formal of their own.
The arguments as the graph holds them, see convertFnArguments.
Formal name to the target it stands for, or a signature whose names are the targets.
Per target the ids bound to it.
R's argument matching, as matchArgumentsToParameters implements it. Pick by what you hold:
toSpec, and adds the argument edges to the graph