@mnemonica/tactica 0.1.12 → 0.1.14

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/analyzer.d.ts CHANGED
@@ -11,6 +11,7 @@ export declare class MnemonicaAnalyzer {
11
11
  private usages;
12
12
  private edsUsages;
13
13
  private flowUsages;
14
+ private edsScopeByNode;
14
15
  private typeAliases;
15
16
  private variableToTypeMap;
16
17
  private moduleObjectVariables;
@@ -343,6 +344,13 @@ export declare class MnemonicaAnalyzer {
343
344
  * Resolve type from EDS call argument (best effort)
344
345
  */
345
346
  private resolveEDSArgumentType;
347
+ /**
348
+ * Resolve the enclosing mnemonica scope of an EDS call site by walking
349
+ * up the parent chain: nearest define()/lazy() call whose handler holds
350
+ * the node, or nearest @decorate()-ed class declaration. Best effort —
351
+ * returns undefined for calls outside any type scope (module top level).
352
+ */
353
+ private resolveEDSScope;
346
354
  /**
347
355
  * Add an EDS usage to the collection
348
356
  */