def St.str_go

bendtorch-load@1.3.0.0 · main.bend:281

import bendtorch-load@1.3.0.0/main.bend as BendtorchLoad
import Base

281def St.str_go(quote: Bool, slash: Bool, +b: U32, acc: String) -> LexR:
282  match quote slash:
283    case True{} _: LexR{LOut{}, Con{TStr{String.reverse(acc)}, Nil{}}}
284    case _ True{}: LexR{LEsc{acc}, Nil{}}
285    case _ _: LexR{LStr{SCon{Chr{b}, acc}}, Nil{}}

Uses (9)

Used by (1)