Class EmptyBlockOrError
java.lang.Object
org.ek9lang.compiler.phase1.EmptyBlockOrError
- All Implemented Interfaces:
Consumer<EK9Parser.EmptyBlockContext>
Detects when a 'defines' block (class, function, trait, etc.) is empty
and emits a clear semantic error rather than letting it fail as a generic parse error.
-
Constructor Details
-
EmptyBlockOrError
EmptyBlockOrError(ErrorListener errorListener)
-
-
Method Details
-
accept
- Specified by:
acceptin interfaceConsumer<EK9Parser.EmptyBlockContext>
-