1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 13:28:11 +00:00
serenity/Libraries/LibJS
Andreas Kling fbb9e1b715 LibJS: Implement "else" parsing
We can now handle scripts with if/else in LibJS. Most of the changes
are about fixing IfStatement to store the consequent and alternate node
as Statements.

Interpreter now also runs Statements, rather than running ScopeNodes.
2020-03-23 16:52:58 +01:00
..
Heap LibJS: Always collect all garbage when destroying Heap 2020-03-23 14:11:19 +01:00
Runtime LibJS: Use rand() for Math.random() on other systems 2020-03-23 13:14:04 +01:00
AST.cpp LibJS: Use FlyString for identifiers 2020-03-22 13:03:43 +01:00
AST.h LibJS: Implement "else" parsing 2020-03-23 16:52:58 +01:00
Forward.h LibJS: Implement "else" parsing 2020-03-23 16:52:58 +01:00
Interpreter.cpp LibJS: Implement "else" parsing 2020-03-23 16:52:58 +01:00
Interpreter.h LibJS: Implement "else" parsing 2020-03-23 16:52:58 +01:00
Lexer.cpp LibJS: Teach the lexer to recognize ">=" and "<=" :^) 2020-03-23 14:10:23 +01:00
Lexer.h LibJS: Lex single quote strings, escaped chars and unterminated strings 2020-03-14 12:13:53 +01:00
Makefile LibJS: Add Math.random() :^) 2020-03-21 17:52:12 +01:00
Parser.cpp LibJS: Implement "else" parsing 2020-03-23 16:52:58 +01:00
Parser.h LibJS: Parse "if" statements 2020-03-21 18:40:17 +01:00
Token.cpp LibJS: Parse object expressions 2020-03-21 10:08:58 +01:00
Token.h LibJS: Parse object expressions 2020-03-21 10:08:58 +01:00