@eagleoutice/flowr - v2.17.4
    Preparing search index...

    One pass over an error region, blind to strings and comments.

    interface RegionScan {
        closers: readonly string[];
        headAt?: number;
        percentAt: readonly number[];
    }
    Index
    closers: readonly string[]

    The closing delimiters the region leaves open, innermost first.

    headAt?: number

    Offset where the only missing ) belongs: the end of a for/while/if/function head, right before its { body.

    percentAt: readonly number[]

    Offset of every % outside a string or comment; an odd count means an unclosed %...% operator.