Compute the unmatched-[[ depth at each character offset of source. Mirrors the lexer's blockOpenerDepth. Returns Int32Array of length source.length + 1; depths[k] is the depth immediately before the character at offset k is consumed.
[[
source
blockOpenerDepth
Int32Array
source.length + 1
depths[k]
k
Compute the unmatched-
[[depth at each character offset ofsource. Mirrors the lexer'sblockOpenerDepth. ReturnsInt32Arrayof lengthsource.length + 1;depths[k]is the depth immediately before the character at offsetkis consumed.