def read.fast.basic

emerging-eztoml@0.9.0.0 · main.bend:4814

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

4814# a basic-string character: a quote or a backslash still takes the full step
4815def read.fast.basic(
4816  quote: Bool,
4817  bs: Bool,
4818  bad: String,
4819  rows: List<&2, Val>,
4820  heads: List<&2, String>,
4821  here: List<&2, String>,
4822  parts: List<&2, String>,
4823  buf: List<&2, Char>,
4824  back: Lex,
4825  stack: List<&2, Ctx>,
4826  uni: U32,
4827  left: U32,
4828  arrtab: Bool,
4829  +cc: Char
4830) -> St:
4831  match quote:
4832    case True{}:
4833      read.fast.old(bad, rows, heads, here, parts, buf, LStr{}, back, QBasic{}, stack,
4834        uni, left, arrtab, cc)
4835    case False{}:
4836      read.fast.basic.bs(bs, bad, rows, heads, here, parts, buf, back, stack, uni, left,
4837        arrtab, cc)

Uses (12)

Used by (1)