Class ModuleOf

java.lang.Object
org.ek9lang.compiler.support.ModuleOf
All Implemented Interfaces:
Function<ISymbol,String>

public final class ModuleOf extends Object implements Function<ISymbol,String>
THE module a type symbol belongs to, for the module-level quality trackers: the module the symbol was parsed in (phase 1 already resolved and recorded it, so reading it back is immune to the name-shape assumptions a name split makes), else - only for a symbol with no parsed module, such as a built-in reached through a synthesised scope, where there is nothing else to read - the module part of its fully qualified name.

Module cohesion and module coupling are given the same leaves and must attribute them to the same module, so both ask here (F15, 2026-10-20: one read the parsed module and the other split the name).

  • Constructor Details

    • ModuleOf

      public ModuleOf()
  • Method Details