RawSpan

tcmts.core.canonicalize.RawSpan · #vs3tgev3 · type

import type { ExtRef, RefPos } from "#codebase/tcmts/core/types";

export interface RawSpan {
  start: number;
  end: number;
  pos: RefPos;
  strict: boolean;
  /** called where it's written (`f(…)`, `new f`): its body runs then (see `isCalled`) */
  called?: boolean;
  target: { def: number } | { hash: string } | { ext: ExtRef };
  shorthand?: string;
  literal?: boolean;
  /** the name a module augmentation declares, merging with the definition it augments (see `augmenting`) */
  augmented?: boolean;
  element?: boolean;
}

uses

used by