All files / types ITargetCatalogEntry.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                                     
import type TTargetFieldValue from "./TTargetFieldValue";
 
/**
 * One `const` of the target catalog, read as plain data by 1.2 Parse.
 *
 * `fields` holds a struct initializer's literal fields; `value` a scalar
 * constant's literal. A value that is not a literal is left out here and
 * reported in the source's `errors`, so nothing downstream sees a guess.
 */
interface ITargetCatalogEntry {
  readonly constName: string;
  readonly typeName: string;
  readonly line: number;
  readonly fields: ReadonlyMap<string, TTargetFieldValue>;
  readonly value?: TTargetFieldValue;
}
 
export default ITargetCatalogEntry;