protects method

bool protects(
  1. int offset
)

True inside a block whose internal blank lines must stay together.

Implementation

bool protects(int offset) => _intersects(_protected, offset, offset + 1);