def doc.open.q

emerging-eztoml@0.9.0.0 · main.bend:5480

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

5480# a second quote is an empty string or the start of a multiline string
5481def doc.open.q(
5482  same: Bool,
5483  basic: Bool,
5484  qq: Char,
5485  qkind: QKind,
5486  bad: String,
5487  rows: List<&2, Val>,
5488  heads: List<&2, String>,
5489  here: List<&2, String>,
5490  parts: List<&2, String>,
5491  buf: List<&2, Char>,
5492  back: Lex,
5493  stack: List<&2, Ctx>,
5494  uni: U32,
5495  left: U32,
5496  arrtab: Bool,
5497  cc: Char,
5498  tail: String
5499) -> Mode:
5500  match same:
5501    case True{}:
5502      doc.drop(tail, MScan{read.fast.lex(LQ{}, qkind, bad, rows, heads, here, parts,
5503        buf, back, stack, uni, left, arrtab, cc)})
5504    case False{}:
5505      doc.open.b(basic, qq, qkind, bad, rows, heads, here, parts, buf, back, stack, uni,
5506        left, arrtab, cc, tail)

Uses (13)

Used by (1)