All files / transpiler/logic/symbols/types IBaseSymbol.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 21 22 23 24 25 26 27 28                                                       
import ESourceLanguage from "../../../../utils/types/ESourceLanguage";
 
/**
 * Common fields shared by all symbol types.
 * Extracted from ISymbol to provide a typed base for discriminated union members.
 */
interface IBaseSymbol {
  /** Symbol name (e.g., "LED_toggle", "GPIO7", "Point") */
  name: string;
 
  /** Parent scope/namespace name (e.g., "LED" for a member of scope LED) */
  parent?: string;
 
  /** Source file where the symbol is defined */
  sourceFile: string;
 
  /** Line number in the source file */
  sourceLine: number;
 
  /** Source language (CNext, C, Cpp) */
  sourceLanguage: ESourceLanguage;
 
  /** Whether this symbol is exported/public */
  isExported: boolean;
}
 
export default IBaseSymbol;