All files / lib/types ISymbolInfo.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 29 30 31 32 33 34                                                                   
import TSymbolKind from "./TSymbolKind";
import TLanguage from "./TLanguage";
 
/**
 * Symbol information for IDE features (autocomplete, hover)
 * Simplified version of ISymbol for extension use
 */
interface ISymbolInfo {
  /** Symbol name (e.g., "toggle", "DR_SET") - local name without parent prefix */
  name: string;
  /** Full qualified name (e.g., "LED_toggle", "GPIO7_DR_SET") */
  fullName: string;
  /** Kind of symbol */
  kind: TSymbolKind;
  /** Type of the symbol (e.g., "void", "u32") */
  type?: string;
  /** Parent namespace/class/register name */
  parent?: string;
  /** Function signature (e.g., "void toggle()") */
  signature?: string;
  /** Access modifier for register members (rw, ro, wo, w1c, w1s) */
  accessModifier?: string;
  /** Line number in source (1-based) */
  line: number;
  /** Array size or bit width */
  size?: number;
  /** Source file path where this symbol is defined */
  sourceFile?: string;
  /** Language of the source file */
  language?: TLanguage;
}
 
export default ISymbolInfo;