Class ParsedModules

java.lang.Object
org.ek9lang.compiler.ParsedModules
All Implemented Interfaces:
Serializable

public class ParsedModules 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 parsed modules.
See Also:
  • Constructor Details

    • ParsedModules

      public ParsedModules(String moduleName)
  • Method Details

    • add

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

      public void remove(ParsedModule parsedModule)
      Remove an existing parsed module for the set of modules recorded against a specific module name.
    • getParsedModules

      public List<ParsedModule> getParsedModules()
      Provides an unmodifiable list of parsed modules.