1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 06:58:11 +00:00
serenity/Libraries/LibJS
0xtechnobabble df40c85f80
LibJS: Allow the choice of a scope of declaration for a variable (#1408)
Previously, we were assuming all declared variables were bound to a
block scope, now, with the addition of declaration types, we can bind
a variable to a block scope using `let`, or a function scope (the scope
of the inner-most enclosing function of a `var` declaration) using
`var`.
2020-03-11 20:09:20 +01:00
..
AST.cpp LibJS: Allow the choice of a scope of declaration for a variable (#1408) 2020-03-11 20:09:20 +01:00
AST.h LibJS: Allow the choice of a scope of declaration for a variable (#1408) 2020-03-11 20:09:20 +01:00
Cell.cpp LibJS: Support "hello friends".length 2020-03-11 19:00:26 +01:00
Cell.h LibJS: Add a convenience helper for visiting a JS::Value 2020-03-09 22:19:06 +01:00
Forward.h LibJS: Allow the choice of a scope of declaration for a variable (#1408) 2020-03-11 20:09:20 +01:00
Function.cpp LibJS: Start building a JavaScript engine for SerenityOS :^) 2020-03-07 19:42:11 +01:00
Function.h LibJS: Start building a JavaScript engine for SerenityOS :^) 2020-03-07 19:42:11 +01:00
Heap.cpp LibJS: Make the GC marking phase cycle-proof 2020-03-09 22:18:03 +01:00
Heap.h LibJS: Make the GC marking phase cycle-proof 2020-03-09 22:18:03 +01:00
HeapBlock.cpp LibJS: Add a basic mark&sweep garbage collector :^) 2020-03-08 19:23:58 +01:00
HeapBlock.h LibJS: Add a basic mark&sweep garbage collector :^) 2020-03-08 19:23:58 +01:00
Interpreter.cpp LibJS: Allow the choice of a scope of declaration for a variable (#1408) 2020-03-11 20:09:20 +01:00
Interpreter.h LibJS: Allow the choice of a scope of declaration for a variable (#1408) 2020-03-11 20:09:20 +01:00
Makefile LibJS: Add StringObject, an Object wrapper around primitive strings 2020-03-11 19:00:26 +01:00
Object.cpp LibJS: Add a convenience helper for visiting a JS::Value 2020-03-09 22:19:06 +01:00
Object.h LibJS: Make the GC marking phase cycle-proof 2020-03-09 22:18:03 +01:00
PrimitiveString.cpp LibJS: Add a new PrimitiveString class to hold GC-allocated strings 2020-03-11 19:00:22 +01:00
PrimitiveString.h LibJS: Add a new PrimitiveString class to hold GC-allocated strings 2020-03-11 19:00:22 +01:00
StringObject.cpp LibJS: Add StringObject, an Object wrapper around primitive strings 2020-03-11 19:00:26 +01:00
StringObject.h LibJS: Add StringObject, an Object wrapper around primitive strings 2020-03-11 19:00:26 +01:00
Value.cpp LibJS: Support "hello friends".length 2020-03-11 19:00:26 +01:00
Value.h LibJS: Support "hello friends".length 2020-03-11 19:00:26 +01:00