type Qs
import yaml-for-bend@0.1.1.0/scan.bend as Scanimport Base
import yaml-for-bend@0.1.1.0/token.bend as T
72# Reading a quoted scalar: the cursor, the text so far (reversed), the
73# blanks waiting (reversed), whether a line break came since the last text
74# and how many more did, whether that break was escaped, and whether text
75# (not blanks) is being read.
76type Qs is Data:
77 Qs{cur: Cur, acc: String, ws: String, lead: Bool, brks: Nat, esc: Bool, text: Bool, bad: Bool}
78 QsDone{cur: Cur, acc: String}
79 QsBad{error: T.Error}