Package org.ek9lang.compiler.phase3
Class WhileReturnOrError
java.lang.Object
org.ek9lang.compiler.support.CheckReturns
org.ek9lang.compiler.phase3.WhileReturnOrError
- All Implemented Interfaces:
Consumer<EK9Parser.WhileStatementExpressionContext>
final class WhileReturnOrError
extends CheckReturns
implements Consumer<EK9Parser.WhileStatementExpressionContext>
Ensures that a while do/while statement/expression is used correctly in or out of an expression.
-
Field Summary
Fields inherited from class org.ek9lang.compiler.support.CheckReturns
errorListener
-
Constructor Summary
-
Method Summary
Methods inherited from class org.ek9lang.compiler.support.CheckReturns
returningParamOrError
-
Constructor Details
-
WhileReturnOrError
WhileReturnOrError(ErrorListener errorListener)
-
-
Method Details
-
accept
- Specified by:
accept
in interfaceConsumer<EK9Parser.WhileStatementExpressionContext>
-