Class ThisOrSuperOrError

All Implemented Interfaces:
Consumer<EK9Parser.PrimaryReferenceContext>

final class ThisOrSuperOrError extends TypedSymbolAccess implements Consumer<EK9Parser.PrimaryReferenceContext>
Checks and assigns type a 'this' or 'super' symbol, but only if it valid. But allowing applications, functions and programs to refer to themselves might be useful in passing themselves as parameters to other functions in some way.