Class IdentifierReferenceOrError

All Implemented Interfaces:
Function<EK9Parser.IdentifierReferenceContext,Optional<ISymbol>>

final class IdentifierReferenceOrError extends TypedSymbolAccess implements Function<EK9Parser.IdentifierReferenceContext,Optional<ISymbol>>
Ensures that 'identifierReference' is now resolved and hangs together and is 'typed' or emit "not resolved" error. Note that while the identifierReference may get resolved also see ResolveIdentifierReferenceCallOrError. This is because the context of the identifierReference may mean that it is important to 're-resolve' it. Indeed, for overloaded methods it probably will end up resolving to a different method. CallOrError ResolveIdentifierReferenceCallOrError