All files / transpiler/logic/preprocessor/types ICompileCommandsResult.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                             
/**
 * The compiler's own view, derived from a `compile_commands.json` compilation
 * database: the include search path, preprocessor defines, and compiler binary.
 */
interface ICompileCommandsResult {
  /** Include search paths (absolute), in first-seen order, de-duplicated. */
  includePaths: string[];
  /** Preprocessor defines: `-D KEY=VAL` -> `VAL`, bare `-D KEY` -> `true`. */
  defines: Record<string, string | boolean>;
  /** The compiler binary (argv[0]) of the entries, or null if none found. */
  compiler: string | null;
}
 
export default ICompileCommandsResult;