Class ProcessIdentifierOrError

All Implemented Interfaces:
Function<EK9Parser.IdentifierContext,ISymbol>

final class ProcessIdentifierOrError extends TypedSymbolAccess implements Function<EK9Parser.IdentifierContext,ISymbol>
Used for pure identifier resolution and recording. Rather than identifierReferences.
  • Constructor Details

    • ProcessIdentifierOrError

      ProcessIdentifierOrError(SymbolsAndScopes symbolsAndScopes, ErrorListener errorListener)
      Searches for an identifier and issues an error if it is not resolved. So identifiers are a little ambiguous unlike identifierReferences (which must be present). identifiers can be optional in some contexts (like named argument when calling methods and functions). Also in dynamic classes and functions with variable capture.
  • Method Details