Class IsCoreModule

java.lang.Object
org.ek9lang.compiler.support.IsCoreModule
All Implemented Interfaces:
Predicate<String>

public final class IsCoreModule extends Object implements Predicate<String>
THE test for "is this module EK9 core": exact membership of Ek9CoreModules.NAMES, never an "org.ek9." prefix (see Ek9CoreModules for why the namespace as a whole is not core). Hold one and test with it; a fully qualified name goes through IsCoreFullyQualifiedName.
  • Constructor Details

    • IsCoreModule

      public IsCoreModule()
  • Method Details

    • test

      public boolean test(String moduleName)
      True when moduleName is one of the core modules.
      Specified by:
      test in interface Predicate<String>