def inside
import bolt@1.27.0.0/src/syntax/outline.bend as Outlineimport Base
import bolt@1.27.0.0/src/syntax/lex.bend as Lex
492# one flag per line, in order: does it start inside a string? Line 0 does
493# not; the line after a line break does when the break sits in a string token
494def inside(toks: List<&2, Lex.Tok>) -> List<&2, Bool>:
495 False{} <> List.reverse(&2, Bool, inside.go(toks, []))