fn(value$0, byte$1, start$2) =>
match @core.equal(left: $1, right: 34) {
true =>
"\\\"",
false =>
match @core.equal(left: $1, right: 92) {
true =>
"\\\\",
false =>
match @core.equal(left: $1, right: 10) {
true =>
"\\n",
false =>
match @core.equal(left: $1, right: 13) {
true =>
"\\r",
false =>
match @core.equal(left: $1, right: 9) {
true =>
"\\t",
false =>
match @core.less-than(left: $1, right: 32) {
true =>
@core.string-concat(
left: "\\u00",
right: @core.string-concat(
left: @core.string-slice(
value: "0123456789abcdef",
start: @core.divide(left: $1, right: 16),
end: @core.plus(left: @core.divide(left: $1, right: 16), right: 1)
),
right: @core.string-slice(
value: "0123456789abcdef",
start: @core.remainder(left: $1, right: 16),
end: @core.plus(left: @core.remainder(left: $1, right: 16), right: 1)
)
)
),
false =>
@core.string-slice(value: $0, start: $2, end: @core.plus(left: $2, right: 1))
}
}
}
}
}
}