object
Signatures
extends
Object
with
Serializable
Constructors
Members
Represent a method's parameter.
Represent a method's parameter.
Represent a method signature.
Represent a method signature.
private
def
alternativesFromError
(
err:
ErrorType
,
params:
List
[
Tree
]
)
(
implicit
ctx:
Context
)
: (
Int, List
[
SingleDenotation
]
)
Inspect err
to determine, if it is an error related to application of an overloaded
function, what were the possible alternatives.
If several alternatives are found, determines what is the best suited alternatives
given the parameters params
: The alternative that has the most formal parameters
matching the given arguments is chosen.
def
callInfo
(
path:
List
[
Tree
]
,
span:
Span
)
(
implicit
ctx:
Context
)
: (
Int, Int, List
[
SingleDenotation
]
)
Extract (current parameter index, function index, functions) out of a method call.
The number of parameters that are applied in tree
.
This handles currying, so for an application such as foo(1, 2)(3)
, the result of
countParams
should be 3.