CallResolutionResult
This is the result of SymbolResolver.resolveWithArguments. It holds all necessary intermediate results (such as candidateFunctions, viableFunctions) as well as the final result (see bestViable) of the call resolution.
Constructors
Types
Properties
The actual start scope of the resolution, after ScopeManager.extractScope is called on the callee. This can differ from the original start scope parameter handed to SymbolResolver.resolveWithArguments if the callee contains an FQN.
The arguments that were supplied to the expression.
This set contains the best viable function(s) of the viableFunctions. Ideally this is only one, but because of ambiguities or other factors, this can contain multiple functions.
A set of candidate symbols we discovered based on the CallExpression.callee (using ScopeManager.lookupSymbolByName), more specifically a list of FunctionDeclaration nodes.
A helper map to store the SignatureResult of each call to FunctionDeclaration.matchesSignature for each function in viableFunctions.
The original expression that triggered the resolution. Most likely a CallExpression.
The kind of success this resolution had.
A set of functions, that restrict the candidateFunctions to those whose signature match.