Class PackagePropertyOrError
java.lang.Object
org.ek9lang.compiler.phase1.PackagePropertyOrError
- All Implemented Interfaces:
BiConsumer<String, EK9Parser.PackageBlockContext>
final class PackagePropertyOrError
extends Object
implements BiConsumer<String, EK9Parser.PackageBlockContext>
Reports a package property a package does not define, or one whose value is not of the shape it requires
(E06260), using the same rule (
PackageProperties) and message as the CLI's package pre-pass - which only
the CLI runs, so without this the LSP and MCP tools accepted name <- "myLib" and tags <- "x".-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaccept(String moduleName, EK9Parser.PackageBlockContext ctx) Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface BiConsumer
andThen
-
Constructor Details
-
PackagePropertyOrError
PackagePropertyOrError(ErrorListener errorListener)
-
-
Method Details
-
accept
- Specified by:
acceptin interfaceBiConsumer<String, EK9Parser.PackageBlockContext>
-