abstract class JS::Code

Defined in:

js/code.cr

Constant Summary

JS_ALIASES = {} of String => String
OPERATOR_CALL_NAMES = ["+", "-", "*", "/", "**", "^", "//", "&", "|", "&&", "||", ">", ">=", "<", "<=", "==", "!="] of ::String
VARIABLE_DECLARATION_CALL_NAMES = ["let", "const"] of ::String

Macro Summary

Class methods inherited from class Object

to_js_ref to_js_ref

Macro Detail

macro _eval_js_block(io, namespace, opts, &blk) #

[View source]
macro def_to_js(strict = false, &blk) #

[View source]
macro js_alias(name, aliased_name) #

[View source]