Package org.ek9lang.compiler.phase3
Class SwitchStatementExpressionOrError
java.lang.Object
org.ek9lang.compiler.common.RuleSupport
org.ek9lang.compiler.common.TypedSymbolAccess
org.ek9lang.compiler.phase3.SwitchStatementExpressionOrError
- All Implemented Interfaces:
Consumer<EK9Parser.SwitchStatementExpressionContext>
final class SwitchStatementExpressionOrError
extends TypedSymbolAccess
implements Consumer<EK9Parser.SwitchStatementExpressionContext>
Deals with checking if the switch can be used as an expression and whether
the variable being switched on has the appropriate operators to meet the case criteria.
-
Field Summary
Fields inherited from class org.ek9lang.compiler.common.RuleSupport
errorListener, symbolsAndScopes
-
Constructor Summary
ConstructorDescriptionSwitchStatementExpressionOrError
(SymbolsAndScopes symbolsAndScopes, ErrorListener errorListener) -
Method Summary
Methods inherited from class org.ek9lang.compiler.common.TypedSymbolAccess
getRecordedAndTypedSymbol, isProcessingScopePure, recordATypedSymbol
-
Constructor Details
-
SwitchStatementExpressionOrError
SwitchStatementExpressionOrError(SymbolsAndScopes symbolsAndScopes, ErrorListener errorListener)
-
-
Method Details
-
accept
- Specified by:
accept
in interfaceConsumer<EK9Parser.SwitchStatementExpressionContext>
-