type Pl

yaml-for-bend@0.1.1.0 · scan.bend:61

import yaml-for-bend@0.1.1.0/scan.bend as Scan
import Base
import yaml-for-bend@0.1.1.0/token.bend as T

61# Reading a plain scalar: the cursor, the text so far (reversed), where the
62# last word ended, the blanks after it (reversed), whether a line break came
63# since, how many more breaks did, and whether a word is being read.
64type Pl is Data:
65  Pl{cur: Cur, acc: String, end: T.Mark, ws: String, lead: Bool, brks: Nat, word: Bool, bad: Bool}
66  PlDone{cur: Cur, acc: String, end: T.Mark, lead: Bool}
67  PlBad{error: T.Error}

Uses (6)

Used by (6)