def doc.scan.lead

emerging-eztoml@0.9.0.0 · main.bend:5556

import emerging-eztoml@0.9.0.0/main.bend as EmergingEztoml
import Base

5556# the first character of the file is still the old step
5557def doc.scan.lead(
5558  lead: Bool,
5559  qkind: QKind,
5560  bad: String,
5561  rows: List<&2, Val>,
5562  heads: List<&2, String>,
5563  here: List<&2, String>,
5564  parts: List<&2, String>,
5565  buf: List<&2, Char>,
5566  back: Lex,
5567  stack: List<&2, Ctx>,
5568  uni: U32,
5569  left: U32,
5570  arrtab: Bool
5571) -> Mode:
5572  match lead:
5573    case True{}:
5574      MScan{St{bad, rows, heads, here, parts, buf, LQ{}, back, qkind, stack, HNone{},
5575        uni, left, arrtab, True{}}}
5576    case False{}:
5577      doc.scan.kind(qkind, bad, rows, heads, here, parts, buf, back, stack, uni, left,
5578        arrtab)

Uses (13)

Used by (1)