All files / transpiler/output/codegen/subscript TSubscriptKind.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                           
/**
 * Issue #579: Subscript classification result
 *
 * Discriminates between array access and bit manipulation operations.
 * Used by both assignment and expression paths to ensure consistent behavior.
 */
type TSubscriptKind =
  | "array_element" // Single array element access: arr[i]
  | "array_slice" // Array slice/memcpy: arr[offset, length]
  | "bit_single" // Single bit access: flags[3]
  | "bit_range"; // Bit range extraction: value[start, width]
 
export default TSubscriptKind;