Uses of Class
org.ek9lang.antlr.EK9Parser.PackageBlockContext
Packages that use EK9Parser.PackageBlockContext
Package
Description
Common parts of processing that can be reused across various phases.
E - Initial Symbol definition by traversing the 'ANTLR' - 'AST'.
Contains critical general components used in the
Ek9Compiler listeners.-
Uses of EK9Parser.PackageBlockContext in org.ek9lang.antlr
Methods in org.ek9lang.antlr that return EK9Parser.PackageBlockContextModifier and TypeMethodDescriptionEK9Parser.ModuleBlockContext.packageBlock()EK9Parser.packageBlock()Methods in org.ek9lang.antlr with parameters of type EK9Parser.PackageBlockContextModifier and TypeMethodDescriptionvoidEK9BaseListener.enterPackageBlock(EK9Parser.PackageBlockContext ctx) Enter a parse tree produced byEK9Parser.packageBlock().voidEK9Listener.enterPackageBlock(EK9Parser.PackageBlockContext ctx) Enter a parse tree produced byEK9Parser.packageBlock().voidEK9BaseListener.exitPackageBlock(EK9Parser.PackageBlockContext ctx) Exit a parse tree produced byEK9Parser.packageBlock().voidEK9Listener.exitPackageBlock(EK9Parser.PackageBlockContext ctx) Exit a parse tree produced byEK9Parser.packageBlock().EK9BaseVisitor.visitPackageBlock(EK9Parser.PackageBlockContext ctx) Visit a parse tree produced byEK9Parser.packageBlock().EK9Visitor.visitPackageBlock(EK9Parser.PackageBlockContext ctx) Visit a parse tree produced byEK9Parser.packageBlock(). -
Uses of EK9Parser.PackageBlockContext in org.ek9lang.compiler.common
Methods in org.ek9lang.compiler.common with parameters of type EK9Parser.PackageBlockContextModifier and TypeMethodDescriptionvoidScopeStackConsistencyListener.enterPackageBlock(EK9Parser.PackageBlockContext ctx) voidAbstractEK9PhaseListener.exitPackageBlock(EK9Parser.PackageBlockContext ctx) Ek9SourceVisitor.visitPackageBlock(EK9Parser.PackageBlockContext ctx) ExternSourceVisitor.visitPackageBlock(EK9Parser.PackageBlockContext ctx) -
Uses of EK9Parser.PackageBlockContext in org.ek9lang.compiler.phase1
Classes in org.ek9lang.compiler.phase1 that implement interfaces with type arguments of type EK9Parser.PackageBlockContextModifier and TypeClassDescription(package private) final classReports (E06263) each DIRECT dependency of adefines packageblock that is not installed in the library folder, on that dependency's own line in itsdepsordevDepsDict - so the IDE, MCP, LSP andek9 -ctell the same truth, where only the CLI's resolver used to (exit 17).(package private) final classDetects when a second 'defines package' block appears in a module and emits a dedicated error rather than a generic duplicate symbol message.(package private) final classReports what is wrong with a 'defines package' block, 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 acceptedname <- "myLib"andtags <- "x", and a package with no description or version: a property a package does not define, or a value not of the shape it requires (E06260); a property set twice (E50050, in the package's own words - reported before the property is defined, so the generic duplicate-variable error on the same line is not the one kept); no 'version' (E06262) or no 'description' (E06261) - D16, Steve 2026-10-19.Methods in org.ek9lang.compiler.phase1 with parameters of type EK9Parser.PackageBlockContextModifier and TypeMethodDescriptionvoidDependencyInstalledOrError.accept(String moduleName, EK9Parser.PackageBlockContext ctx) (package private) voidPackageCapabilityExtractor.accept(AggregateSymbol packageSymbol, EK9Parser.PackageBlockContext ctx) voidPackagePropertyOrError.accept(String moduleName, EK9Parser.PackageBlockContext ctx) voidDefinitionListener.enterPackageBlock(EK9Parser.PackageBlockContext ctx) voidDefinitionListener.exitPackageBlock(EK9Parser.PackageBlockContext ctx) booleanDuplicatePackageBlockOrError.test(ModuleScope moduleScope, EK9Parser.PackageBlockContext ctx) -
Uses of EK9Parser.PackageBlockContext in org.ek9lang.compiler.support
Classes in org.ek9lang.compiler.support that implement interfaces with type arguments of type EK9Parser.PackageBlockContextModifier and TypeClassDescriptionfinal classTHE direct dependencies adefines packageblock declares, in the order written: every entry of itsdepsanddevDepsDicts whose key and version are both String literals (a malformed Dict isPackageProperties' E06260, not this class's business).final classEvery declaration in this package block that sets a property an earlier one already set - reported (E50050) asDuplicatePackagePropertyMessage, at the later declaration's name.final classThe mandatory properties this package block does not set: 'version' (E06262), then 'description' (E06261), each reported asMissingPackagePropertyMessage.Methods in org.ek9lang.compiler.support with parameters of type EK9Parser.PackageBlockContextModifier and TypeMethodDescriptionDeclaredDependencies.apply(EK9Parser.PackageBlockContext ctx) DuplicatePackageProperties.apply(EK9Parser.PackageBlockContext packageBlock) MissingPackageProperties.apply(EK9Parser.PackageBlockContext packageBlock) BasicSymbolFactory.newPackage(EK9Parser.PackageBlockContext ctx) Create a new EK9 package aggregate.SymbolFactory.newPackage(EK9Parser.PackageBlockContext ctx) Create a new EK9 package aggregate.