Class EmptyBlockOrError

java.lang.Object
org.ek9lang.compiler.phase1.EmptyBlockOrError
All Implemented Interfaces:
Consumer<EK9Parser.EmptyBlockContext>

final class EmptyBlockOrError extends Object implements 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.