All files / types ELEMENT_STEP.ts

100% Statements 1/1
100% Branches 0/0
100% Functions 0/0
100% Lines 1/1

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                  113x      
/**
 * A step into an array's element in a constant name's path (#1175):
 * `m[0].element_count` is `["m", ELEMENT_STEP, "element_count"]`.
 *
 * ADR-058's length properties are the same for every element of an array, so
 * the index does not matter and is not recorded. It appears only before a
 * length property; any other subscript has no value. It cannot be confused
 * with an identifier, which never contains a bracket.
 */
const ELEMENT_STEP = "[]";
 
export default ELEMENT_STEP;