1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-29 14:15:08 +00:00
serenity/Libraries/LibJS
Andreas Kling be019f28ca LibJS: Add a PropertyName class that represents a string or a number
Now that we have two separate storages for Object properties depending
on what kind of index they have, it's nice to have an abstraction that
still allows us to say "here's a property name".

We use PropertyName to always choose the optimal storage path directly
while interpreting the AST. :^)
2020-04-06 18:09:26 +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 a PropertyName class that represents a string or a number 2020-04-06 18:09:26 +02:00
Tests LibJS: Fix some tests for Math.min() 2020-04-06 15:14:34 +02:00
AST.cpp LibJS: Add a PropertyName class that represents a string or a number 2020-04-06 18:09:26 +02:00
AST.h LibJS: Add a PropertyName class that represents a string or a number 2020-04-06 18:09:26 +02:00
Forward.h LibJS: Correctly forward declare "Argument" as a struct 2020-04-04 10:46:00 +02:00
Interpreter.cpp LibJS: Don't return the "last computed value" from Interpreter::run() 2020-04-04 23:45:13 +02:00
Interpreter.h LibJS: Add support for "continue" inside "for" statements :^) 2020-04-05 00:22:42 +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 NumberObject and make to_object() on number values create it 2020-04-04 23:13:13 +02:00
Parser.cpp LibJS: Fix do..while parsing by consuming parentheses explicitly (#1652) 2020-04-05 16:57:01 +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