Class Modules<T extends Module>

java.lang.Object
org.ek9lang.compiler.Modules<T>
All Implemented Interfaces:
Serializable

public class Modules<T extends Module> extends Object implements Serializable
With EK9 it is possible to have multiple source files that are all in the same 'module'. This object represents that concept. So the module name is always the same but there can and will be multiple modules.
See Also:
  • Constructor Details

    • Modules

      public Modules(String moduleName)
  • Method Details

    • add

      public void add(T module)
      Add a module to the set all under the same moduleName.
    • remove

      public void remove(T module)
      Remove an existing module for the set of modules recorded against a specific module name.
    • getModules

      public List<T> getModules()
      Provides an unmodifiable list of parsed modules.