Class CallOrError

All Implemented Interfaces:
Consumer<EK9Parser.CallContext>

final class CallOrError extends TypedSymbolAccess implements Consumer<EK9Parser.CallContext>
Designed to deal with this following part of the EK9 grammar. This is one of the trickiest bits, because we want a simple syntax for the EK9 developer. But it means that a call like 'something(...)' could mean quite a few things.
     identifierReference paramExpression - function/method/constructor/delegate with optional params
     | parameterisedType - the parameterization of a generic type, ie List of String for example
     | primaryReference paramExpression - this or super
     | dynamicFunctionDeclaration
     | call paramExpression - a bit weird but supports someHigherFunction()("Call what was returned")