1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 13:18:13 +00:00
serenity/Libraries/LibJS
Andreas Kling e6d920d87d LibJS: Add Object.defineProperty() and start caring about attributes
We now care (a little bit) about the "configurable" and "writable"
property attributes.

Property attributes are stored together with the property name in
the Shape object. Forward transitions are not attribute-savvy and will
cause poor Shape reuse in the case of multiple same-name properties
with different attributes.

Oh, and this patch also adds Object.getOwnPropertyDescriptor() :^)
2020-04-10 00:36:06 +02:00
..
Heap LibJS: Do a garbage collection every N allocations (N=10'000) 2020-04-06 15:54:46 +02:00
Runtime LibJS: Add Object.defineProperty() and start caring about attributes 2020-04-10 00:36:06 +02:00
Tests LibJS: Add Object.defineProperty() and start caring about attributes 2020-04-10 00:36:06 +02:00
AST.cpp LibJS: rename JS::DeclarationType => JS::DeclarationKind 2020-04-08 14:50:14 +02:00
AST.h LibJS: rename JS::DeclarationType => JS::DeclarationKind 2020-04-08 14:50:14 +02:00
Forward.h LibJS: rename JS::DeclarationType => JS::DeclarationKind 2020-04-08 14:50:14 +02:00
Interpreter.cpp LibJS: rename JS::DeclarationType => JS::DeclarationKind 2020-04-08 14:50:14 +02:00
Interpreter.h LibJS: rename JS::DeclarationType => JS::DeclarationKind 2020-04-08 14:50:14 +02:00
Lexer.cpp LibJS: Report the start position of a token as its line column 2020-04-05 16:11:13 +02:00
Lexer.h LibJS: Allow lexer to run without logging errors 2020-04-05 16:11:13 +02:00
Makefile LibJS: Add Number() 2020-04-07 17:25:50 +02:00
Parser.cpp LibJS: rename JS::DeclarationType => JS::DeclarationKind 2020-04-08 14:50:14 +02:00
Parser.h LibJS: Add support for "continue" inside "for" statements :^) 2020-04-05 00:22:42 +02:00
Token.cpp LibJS: Add numeric literal parsing for different bases and exponents 2020-04-05 16:01:22 +02:00
Token.h LibJS: Plumb line and column information through Lexer / Parser 2020-04-05 12:43:39 +02:00