All files / PARSE/1-Discover/types IHeaderRoot.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                                 
import IDiscoveredFile from "./IDiscoveredFile";
 
/**
 * A C/C++ header a `.cnx` file includes, with that file's search path (#1723).
 *
 * The header's own `#include`s, and every header they reach, are resolved
 * along the same path -- the one discovery built for the `.cnx` file,
 * discovered tiers included -- as a compiler applies one `-I` list to a whole
 * translation unit.
 */
interface IHeaderRoot {
  readonly file: IDiscoveredFile;
  readonly searchPaths: readonly string[];
}
 
export default IHeaderRoot;