serenity/Libraries/LibJS
Sergey Bugaev 600fcd2d46 LibJS: Replace some parser assertions by syntax errors
When parsing JavaScript, we can get pretty much any sequnce of tokens,
and we shouldn't crash if it's not something that we normally expect.
Instead, emit syntax errors.
2020-06-01 17:37:44 +02:00
..
Heap LibJS: Fix undefined behavior in HeapBlock 2020-06-01 17:37:44 +02:00
Runtime LibJS: Fix casting a value to ScriptFunction without checking it's one 2020-06-01 17:37:44 +02:00
Tests LibJS: Rewrite Parser.parse_object_expression() 2020-06-01 13:11:21 +02:00
AST.cpp LibJS: Fix casting a value to ScriptFunction without checking it's one 2020-06-01 17:37:44 +02:00
AST.h LibJS: Rewrite Parser.parse_object_expression() 2020-06-01 13:11:21 +02:00
CMakeLists.txt LibJS: Object index properties have descriptors; Handle sparse indices 2020-05-28 17:17:13 +02:00
Console.cpp LibJS: Add side-effect-free version of Value::to_string() 2020-05-15 13:50:42 +02:00
Console.h LibJS: Implement ConsoleClient 2020-05-05 09:15:16 +02:00
Forward.h LibJS: Create JS to HTML markup generator 2020-05-26 10:17:50 +02:00
Interpreter.cpp LibJS: Use the function's bound |this| and bound arguments in 2020-05-30 10:33:24 +02:00
Interpreter.h LibJS: Integrate labels into the Interpreter 2020-05-29 16:20:32 +02:00
Lexer.cpp LibJS: Fix incorrect token column values (#2401) 2020-05-26 19:00:30 +02:00
Lexer.h LibJS: Fix incorrect token column values (#2401) 2020-05-26 19:00:30 +02:00
MarkupGenerator.cpp LibJS: Add all remaining tokens to MarkupGenerator's style converter 2020-05-29 22:14:45 +02:00
MarkupGenerator.h Meta: Add a script check the presence of "#pragma once" in header files 2020-05-29 07:59:45 +02:00
Parser.cpp LibJS: Replace some parser assertions by syntax errors 2020-06-01 17:37:44 +02:00
Parser.h LibJS: Rewrite Parser.parse_object_expression() 2020-06-01 13:11:21 +02:00
Token.cpp LibJS: Fix out-of-bounds read when parsing escape sequences 2020-06-01 17:37:44 +02:00
Token.h LibJS: Handle hex and unicode escape sequences in string literals 2020-05-18 17:58:17 +02:00