All files / types TEssentialCategory.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                                   
/**
 * MISRA C:2012's essential type categories (Rule 10.4), as C-Next uses them
 * (#1668, ruling 2): a named enum is its own category (with its name on the
 * operand), and so are character and Boolean. `none` is an operand with no
 * essential category of its own -- an unsuffixed integer literal, a struct,
 * a string, a whole bitmap, a callback -- or one the typer could not settle.
 */
type TEssentialCategory =
  | "signed"
  | "unsigned"
  | "floating"
  | "boolean"
  | "enum"
  | "character"
  | "none";
 
export default TEssentialCategory;