def Parse.expect_literal

bend-scanner@0.1.0.0 · parse.bend:84

import bend-scanner@0.1.0.0/parse.bend as Parse
import Base

84def Parse.expect_literal(
85  cur: Parse.Cur, pat: String
86) -> Result<&2, &2, Parse.Error, Parse.Cur>:
87  match cur:
88    case Cur{rest, off}:
89      Parse.expect_literal.start(rest, pat, off)

Uses (5)

Used by (0)

No other definition uses this definition.