Package org.ek9lang.compiler.phase1
Class NotABooleanLiteralOrError
java.lang.Object
org.ek9lang.compiler.phase1.NotABooleanLiteralOrError
- All Implemented Interfaces:
Consumer<EK9Parser.ExpressionContext>
final class NotABooleanLiteralOrError
extends Object
implements Consumer<EK9Parser.ExpressionContext>
Typically used in control expressions to check developer is not doing a while(true).
But also used in other controls.
-
Constructor Details
-
NotABooleanLiteralOrError
NotABooleanLiteralOrError(ErrorListener errorListener)
-
-
Method Details
-
accept
- Specified by:
accept
in interfaceConsumer<EK9Parser.ExpressionContext>
-