Package org.ek9lang.compiler.phase3
Class PrimaryOrError
java.lang.Object
org.ek9lang.compiler.common.RuleSupport
org.ek9lang.compiler.common.TypedSymbolAccess
org.ek9lang.compiler.phase3.PrimaryOrError
- All Implemented Interfaces:
Consumer<EK9Parser.PrimaryContext>
Ensures that 'primary' is now resolved and 'typed' or a not resolved error.
There was a placeholder in for primary, that can now be replaced with the real resolved symbol.
-
Field Summary
Fields inherited from class org.ek9lang.compiler.common.RuleSupport
errorListener, symbolsAndScopes
-
Constructor Summary
ConstructorDescriptionPrimaryOrError
(SymbolsAndScopes symbolsAndScopes, ErrorListener errorListener) Check Primary resolves and attempt to 'type' it. -
Method Summary
Methods inherited from class org.ek9lang.compiler.common.TypedSymbolAccess
getRecordedAndTypedSymbol, isProcessingScopePure, recordATypedSymbol
-
Constructor Details
-
PrimaryOrError
PrimaryOrError(SymbolsAndScopes symbolsAndScopes, ErrorListener errorListener) Check Primary resolves and attempt to 'type' it.
-
-
Method Details
-
accept
- Specified by:
accept
in interfaceConsumer<EK9Parser.PrimaryContext>
-