def read.fast.ws.nl

emerging-eztoml@0.9.0.0 · main.bend:4991

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

4991# a newline this state ignores, or the full step
4992def read.fast.ws.nl(
4993  nl: Bool,
4994  keep: Bool,
4995  bad: String,
4996  rows: List<&2, Val>,
4997  heads: List<&2, String>,
4998  here: List<&2, String>,
4999  parts: List<&2, String>,
5000  buf: List<&2, Char>,
5001  lex: Lex,
5002  back: Lex,
5003  qkind: QKind,
5004  stack: List<&2, Ctx>,
5005  uni: U32,
5006  left: U32,
5007  arrtab: Bool,
5008  +cc: Char
5009) -> St:
5010  match nl:
5011    case True{}:
5012      read.fast.ws.keep(keep, bad, rows, heads, here, parts, buf, lex, back, qkind,
5013        stack, uni, left, arrtab, cc)
5014    case False{}:
5015      read.fast.old(bad, rows, heads, here, parts, buf, lex, back, qkind, stack, uni,
5016        left, arrtab, cc)

Uses (12)

Used by (1)