api
convert.ch
Declarations in convert.ch
4 declarationsjs_parser
Declarations
Public only
escape_append_hex#
Publicfunction
func escape_append_hex(emitter : &JsNodeEmitter, val : uint) : void
Shared JS AST -> JS text conversion.
This is the common conversion logic that walks a parsed JsRoot (or a single
JsNode) and produces JS source text. It is shared between:
- the compiler plugin (js_cbi) which implements JsNodeEmitter by emitting
`page.append_js(...)` calls into the chemical AST, and
- the runtime package (js) which implements JsNodeEmitter by appending
text into a std::string.
escape_js_text#
Publicfunction
convert_js_node#
Publicfunction
convert_js_root#
Publicfunction