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
..
2020-05-09 23:25:39 +02:00
2020-05-06 14:50:29 +02:00
2020-03-07 10:32:51 +01:00
2020-03-07 10:32:51 +01:00
2020-03-07 10:32:51 +01:00
2020-03-22 19:12:10 +01:00
2020-05-15 09:53:52 +02:00
2020-05-10 22:32:12 +02:00
2020-03-28 09:13:29 +01:00
2020-03-07 10:32:51 +01:00
2020-03-22 19:12:10 +01:00
2020-05-05 16:18:28 +02:00
2020-03-25 18:53:20 +01:00
2020-03-22 19:12:10 +01:00
2020-03-22 19:12:10 +01:00
2020-04-06 11:09:01 +02:00
2020-04-29 12:46:20 +02:00
2020-04-29 12:46:20 +02:00
2020-03-22 19:53:22 +01:00
2020-03-22 19:53:22 +01:00
2020-03-22 19:12:10 +01:00
2020-04-24 14:34:11 +02:00
2020-03-22 19:12:10 +01:00
2020-03-22 19:12:10 +01:00
2020-03-22 19:12:10 +01:00
2020-03-22 19:12:10 +01:00
2020-03-22 19:12:10 +01:00
2020-03-22 19:12:10 +01:00
2020-04-15 16:58:46 +02:00
2020-04-15 12:29:21 +02:00
2020-03-22 19:12:10 +01:00
2020-03-22 19:12:10 +01:00
2020-03-22 19:12:10 +01:00
2020-03-22 19:12:10 +01:00
2020-05-05 11:19:38 +02:00
2020-05-05 11:19:38 +02:00
2020-03-22 19:12:10 +01:00
2020-03-22 19:12:10 +01:00
2020-03-22 19:12:10 +01:00
2020-03-22 19:12:10 +01:00
2020-03-22 19:12:10 +01:00
2020-03-22 19:12:10 +01:00
2020-03-22 19:12:10 +01:00
2020-03-22 19:12:10 +01:00
2020-05-09 12:01:59 +02:00
2020-05-09 12:01:59 +02:00
2020-05-12 20:31:16 +02:00
2020-03-22 19:12:10 +01:00
2020-05-03 23:01:58 +02:00
2020-03-22 19:12:10 +01:00
2020-05-15 09:53:52 +02:00
2020-04-03 23:06:09 +02:00
2020-04-03 23:06:09 +02:00
2020-04-03 23:06:09 +02:00
2020-03-22 19:12:10 +01:00
2020-03-22 19:12:10 +01:00
2020-04-21 23:49:51 +02:00
2020-04-21 23:49:51 +02:00
2020-04-06 11:09:01 +02:00
2020-04-29 13:43:57 +02:00
2020-04-03 23:06:09 +02:00
2020-03-28 09:13:29 +01:00
2020-03-25 18:52:03 +01:00
2020-03-25 18:52:03 +01:00
2020-03-07 10:32:51 +01:00
2020-03-22 19:12:10 +01:00
2020-04-29 13:43:57 +02:00
2020-04-17 13:41:03 +02:00
2020-05-03 23:01:58 +02:00
2020-04-23 11:03:17 +02:00