pub fn block_depth_delta(line: &str) -> i32Expand description
Returns the net block-depth change for a single (comment-stripped, trimmed) line.
Used by the REPL to decide whether to buffer more lines before executing.
if/for/while → +1; end → -1; all other lines → 0.