mirror of https://github.com/svaarala/duktape.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
32 lines
1.0 KiB
32 lines
1.0 KiB
--- !ditz.rubyforge.org,2008-03-06/issue
|
|
title: add a shared helper for string char-by-char string transformation
|
|
desc: |-
|
|
Such a helper is needed by e.g. escape() which processes individual
|
|
characters, emitting one or more output characters. There are other
|
|
escape functions with similar semantics, so they could share a helper
|
|
which handles the mechanics of iterating a source string and emitting
|
|
bytes to an output buffer.
|
|
|
|
Some string transformation functions (like unescape()) need some
|
|
lookahead, so they need a different model.
|
|
type: :task
|
|
component: duk
|
|
release:
|
|
reporter: sva <sami.vaarala@iki.fi>
|
|
status: :unstarted
|
|
disposition:
|
|
creation_time: 2013-03-08 22:55:37.885811 Z
|
|
references: []
|
|
|
|
id: b48ebaa7734493c1f088e261318566bee1f1be1c
|
|
log_events:
|
|
- - 2013-03-08 22:55:38.530826 Z
|
|
- sva <sami.vaarala@iki.fi>
|
|
- created
|
|
- ""
|
|
- - 2013-03-11 15:08:24.376731 Z
|
|
- sva <sami.vaarala@iki.fi>
|
|
- commented
|
|
- |-
|
|
There is a beginning of such a helper in duk_bi_global.c,
|
|
transform_helper().
|
|
|