1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 07:38:10 +00:00
serenity/Libraries
Linus Groh 33defef267 LibJS: Let parser keep track of errors
Rather than printing them to stderr directly the parser now keeps a
Vector<Error>, which allows the "owner" of the parser to consume them
individually after parsing.

The Error struct has a message, line number, column number and a
to_string() helper function to format this information into a meaningful
error message.

The Function() constructor will now include an error message when
throwing a SyntaxError.
2020-05-15 09:53:52 +02:00
..
LibAudio Build: Switch to CMake :^) 2020-05-14 20:15:18 +02:00
LibBareMetal Build: Switch to CMake :^) 2020-05-14 20:15:18 +02:00
LibC Build: Switch to CMake :^) 2020-05-14 20:15:18 +02:00
LibCore LibCore: Make IODevice::can_read_line() const 2020-05-15 09:50:48 +02:00
LibCrypto Build: Switch to CMake :^) 2020-05-14 20:15:18 +02:00
LibDebug Build: Switch to CMake :^) 2020-05-14 20:15:18 +02:00
LibDesktop Build: Switch to CMake :^) 2020-05-14 20:15:18 +02:00
LibELF Build: Switch to CMake :^) 2020-05-14 20:15:18 +02:00
LibGfx Build: Switch to CMake :^) 2020-05-14 20:15:18 +02:00
LibGUI LibGUI: Fix build (LibGUI depends on Clipboard IPC classes) 2020-05-15 09:46:55 +02:00
LibHTTP LibCore: Make IODevice::can_read_line() const 2020-05-15 09:50:48 +02:00
LibIPC Build: Switch to CMake :^) 2020-05-14 20:15:18 +02:00
LibJS LibJS: Let parser keep track of errors 2020-05-15 09:53:52 +02:00
LibLine Build: Switch to CMake :^) 2020-05-14 20:15:18 +02:00
LibM Build: Switch to CMake :^) 2020-05-14 20:15:18 +02:00
LibMarkdown Build: Switch to CMake :^) 2020-05-14 20:15:18 +02:00
LibPCIDB Build: Switch to CMake :^) 2020-05-14 20:15:18 +02:00
LibProtocol Build: Switch to CMake :^) 2020-05-14 20:15:18 +02:00
LibPthread Build: Switch to CMake :^) 2020-05-14 20:15:18 +02:00
LibTextCodec Build: Switch to CMake :^) 2020-05-14 20:15:18 +02:00
LibThread Build: Switch to CMake :^) 2020-05-14 20:15:18 +02:00
LibTLS Build: Switch to CMake :^) 2020-05-14 20:15:18 +02:00
LibUnwind LibUnwind: Create UnwindBase.h to capture the EH ABI in code 2020-05-14 08:50:10 +02:00
LibVT Build: Switch to CMake :^) 2020-05-14 20:15:18 +02:00
LibWeb LibJS: Let parser keep track of errors 2020-05-15 09:53:52 +02:00
LibX86 Build: Switch to CMake :^) 2020-05-14 20:15:18 +02:00
CMakeLists.txt Build: Switch to CMake :^) 2020-05-14 20:15:18 +02:00