abstract class
JS::Code
Defined in:
js/code.crConstant Summary
-
JS_ALIASES =
{} of String => String -
OPERATOR_CALL_NAMES =
["+", "-", "*", "/", "**", "^", "//", "&", "|", "&&", "||", ">", ">=", "<", "<=", "==", "!=", "%"] of ::String -
OPERATOR_PRECEDENCE =
{"||" => 1, "&&" => 2, "|" => 3, "^" => 4, "&" => 5, ">" => 6, ">=" => 6, "<" => 6, "<=" => 6, "==" => 6, "!=" => 6, "+" => 7, "-" => 7, "*" => 8, "/" => 8, "//" => 8, "%" => 8, "**" => 9} -
VARIABLE_DECLARATION_CALL_NAMES =
["let", "const"] of ::String
Macro Summary
- _eval_js_block(io, namespace, opts, &blk)
- def_to_js(strict = false, &blk)
- js_alias(name, aliased_name)