Package org.ek9lang.compiler.phase5
Class WhileStatementOrError
java.lang.Object
org.ek9lang.compiler.common.RuleSupport
org.ek9lang.compiler.common.TypedSymbolAccess
org.ek9lang.compiler.phase5.PossibleExpressionConstruct
org.ek9lang.compiler.phase5.WhileStatementOrError
- All Implemented Interfaces:
Consumer<EK9Parser.WhileStatementExpressionContext>
final class WhileStatementOrError
extends PossibleExpressionConstruct
implements Consumer<EK9Parser.WhileStatementExpressionContext>
Checks the while statement via the code analysers.
-
Field Summary
Fields inherited from class org.ek9lang.compiler.common.RuleSupport
errorListener, symbolsAndScopes
-
Constructor Summary
ConstructorDescriptionWhileStatementOrError
(SymbolsAndScopes symbolsAndScopes, ErrorListener errorListener) -
Method Summary
Methods inherited from class org.ek9lang.compiler.phase5.PossibleExpressionConstruct
getGuardExpressionVariable, getGuardExpressionVariable, isVariableInitialisedInScopes, processPossibleGuardInitialisation, pullUpAcceptableCriteriaToHigherScope, returningVariableValidOrError
Methods inherited from class org.ek9lang.compiler.common.TypedSymbolAccess
getRecordedAndTypedSymbol, isProcessingScopePure, recordATypedSymbol
-
Constructor Details
-
WhileStatementOrError
WhileStatementOrError(SymbolsAndScopes symbolsAndScopes, ErrorListener errorListener)
-
-
Method Details
-
accept
- Specified by:
accept
in interfaceConsumer<EK9Parser.WhileStatementExpressionContext>
-