Package org.ek9lang.compiler.phase3
Class ExpressionOrError
java.lang.Object
org.ek9lang.compiler.common.RuleSupport
org.ek9lang.compiler.common.TypedSymbolAccess
org.ek9lang.compiler.phase3.ExpressionOrError
- All Implemented Interfaces:
Consumer<EK9Parser.ExpressionContext>
final class ExpressionOrError
extends TypedSymbolAccess
implements Consumer<EK9Parser.ExpressionContext>
Ensures that 'expression' is now resolved and 'typed' or a not resolved error.
This is a beast and will have to delegate parts, as there are just so many types of expression.
-
Field Summary
Fields inherited from class org.ek9lang.compiler.common.RuleSupport
errorListener, symbolsAndScopes
-
Constructor Summary
ConstructorDescriptionExpressionOrError
(SymbolsAndScopes symbolsAndScopes, SymbolFactory symbolFactory, 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
-
ExpressionOrError
ExpressionOrError(SymbolsAndScopes symbolsAndScopes, SymbolFactory symbolFactory, ErrorListener errorListener) Check Primary resolves and attempt to 'type' it.
-
-
Method Details
-
accept
- Specified by:
accept
in interfaceConsumer<EK9Parser.ExpressionContext>
-