def esc.of

emerging-eztoml@0.9.0.0 · main.bend:3079

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

3079# classify one escaped character
3080def esc.of(+cc: Char) -> Esc:
3081  esc.of.go(Char.is_eq(cc, '"'), Char.is_eq(cc, '\\'), Char.is_eq(cc, 'b'),
3082    Char.is_eq(cc, 't'), Char.is_eq(cc, 'n'), Char.is_eq(cc, 'f'), Char.is_eq(cc, 'r'),
3083    Char.is_eq(cc, 'u'), Char.is_eq(cc, 'U'), ch.nl(cc), ch.sp(cc))

Uses (6)

Used by (2)