All files / transpiler/logic/symbols/types ICollectorContext.ts

0% Statements 0/0
0% Branches 0/0
0% Functions 0/0
0% Lines 0/0

Press n or j to go to the next uncovered block, b, p or k for the previous block.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20                                       
/**
 * Context object holding shared state for symbol collection
 */
 
import ISymbol from "../../../../utils/types/ISymbol";
import SymbolTable from "../SymbolTable";
 
interface ICollectorContext {
  /** Source file path being parsed */
  sourceFile: string;
  /** Collected symbols */
  symbols: ISymbol[];
  /** Warnings generated during collection */
  warnings: string[];
  /** Optional symbol table for struct field registration */
  symbolTable: SymbolTable | null;
}
 
export default ICollectorContext;