Class SymbolUses

java.lang.Object
org.ek9lang.compiler.support.SymbolUses

public final class SymbolUses extends Object
THE uses of ONE symbol instance in a fragment of the COMPILED tree, through the identifiers the compiler bound (RecordedSymbols) and the copies dynamic functions and classes captured (CaptureAliases) - never by name. SymbolWrites picks the writes out of these. Was RecordedSymbols.usesOf (no-statics lane S3, 2026-10-29).
  • Constructor Details

    • SymbolUses

      public SymbolUses()
  • Method Details

    • usesOf

      public List<RecordedSymbols.Reference> usesOf(ParsedModule parsedModule, org.antlr.v4.runtime.tree.ParseTree within, ISymbol symbol)
      The references in within to symbol - that INSTANCE, never another symbol with the same name - plus the references to the copies of it that dynamic functions and classes inside within captured (a capture is a copy symbol; a += on it mutates the same object).