Class RequireStatementOrError

All Implemented Interfaces:
Consumer<EK9Parser.RequireStatementContext>

final class RequireStatementOrError extends TypedSymbolAccess implements Consumer<EK9Parser.RequireStatementContext>
Checks that the require statement actually has a boolean result from the expression. Because basically it is an if 'boolean' all ok, else throw non-catchable AssertionError. Used for production preconditions, postconditions, and invariants.