Class CaptureAliases

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

public final class CaptureAliases extends Object
THE identity set of a symbol and every copy of it captured inside a fragment of the COMPILED tree - what SymbolUses counts as the same variable. Was RecordedSymbols.aliasesOf (no-statics lane S3, 2026-10-29).
  • Constructor Details

    • CaptureAliases

      public CaptureAliases()
  • Method Details

    • aliasesOf

      public Set<ISymbol> aliasesOf(ParsedModule parsedModule, org.antlr.v4.runtime.tree.ParseTree within, ISymbol symbol)
      symbol and every captured copy of it made by a dynamic function or class inside within (transitively: a capture of a capture), as an identity set. Each copy is matched through the capture's own argument - (acc) and (total: acc) both capture acc - never by name alone.