def doc.open.ok

emerging-eztoml@0.9.0.0 · main.bend:5398

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

5398# a forbidden control leaves the span
5399def doc.open.ok(
5400  badc: Bool,
5401  basic: Bool,
5402  qq: Char,
5403  qkind: QKind,
5404  bad: String,
5405  rows: List<&2, Val>,
5406  heads: List<&2, String>,
5407  here: List<&2, String>,
5408  parts: List<&2, String>,
5409  buf: List<&2, Char>,
5410  back: Lex,
5411  stack: List<&2, Ctx>,
5412  uni: U32,
5413  left: U32,
5414  arrtab: Bool,
5415  cc: Char,
5416  tail: String
5417) -> Mode:
5418  match badc:
5419    case True{}:
5420      doc.drop(tail, MScan{read.fast.lex(LQ{}, qkind, bad, rows, heads, here, parts,
5421        buf, back, stack, uni, left, arrtab, cc)})
5422    case False{}:
5423      doc.open.buf(basic, qq, qkind, bad, rows, heads, here, parts, buf, back, stack,
5424        uni, left, arrtab, cc, tail)

Uses (13)

Used by (2)