def esc.cp
import cswap-bend-cli@0.1.0.0/json/lex.bend as Leximport Base
182# The code point a char (or the escape it starts) stands for.
183def esc.cp(+c: U32, +t: String) -> U32:
184 sel(U32.is_eq(c, 92), esc.cp2(cc(t, 0n), t), c)
import cswap-bend-cli@0.1.0.0/json/lex.bend as Leximport Base
182# The code point a char (or the escape it starts) stands for.
183def esc.cp(+c: U32, +t: String) -> U32:
184 sel(U32.is_eq(c, 92), esc.cp2(cc(t, 0n), t), c)