1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 07:58:11 +00:00
serenity/Libraries/LibJS
Brian Gianforcaro dd112421b4 LibJS: Plumb line and column information through Lexer / Parser
While debugging test failures, it's pretty frustrating to have to go do
printf debugging to figure out what test is failing right now. While
watching your JS Raytracer stream it seemed like this was pretty
furstrating as well. So I wanted to start working on improving the
diagnostics here.

In the future I hope we can eventually be able to plumb the info down
to the Error classes so any thrown exceptions will contain enough
metadata to know where they came from.
2020-04-05 12:43:39 +02:00
..
Heap LibJS: Disable HEAP_DEBUG logging on non-SerenityOS platforms 2020-03-25 09:49:14 +01:00
Runtime AK: Stop allowing implicit downcast with RefPtr and NonnullRefPtr 2020-04-05 11:19:00 +02:00
Tests LibJS: Fix missing paren in modulo-basic.js test 2020-04-05 11:19:00 +02:00
AST.cpp LibJS: Clean up the anonymous wrapper block in "for" using ScopeGuard 2020-04-05 00:24:32 +02:00
AST.h AK: Stop allowing implicit downcast with RefPtr and NonnullRefPtr 2020-04-05 11:19:00 +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: Plumb line and column information through Lexer / Parser 2020-04-05 12:43:39 +02:00
Lexer.h LibJS: Plumb line and column information through Lexer / Parser 2020-04-05 12:43:39 +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: Plumb line and column information through Lexer / Parser 2020-04-05 12:43:39 +02:00
Parser.h LibJS: Add support for "continue" inside "for" statements :^) 2020-04-05 00:22:42 +02:00
Token.cpp LibJS: Hack the lexer to allow numbers with decimals 2020-04-04 23:13:48 +02:00
Token.h LibJS: Plumb line and column information through Lexer / Parser 2020-04-05 12:43:39 +02:00