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-01 16:54:01 +02:00
2020-04-23 09:47:23 +02:00
2020-05-08 20:06:49 +02:00
2020-05-08 20:06:49 +02:00
2020-05-08 09:49:20 +02:00
2020-04-28 13:11:10 +02:00
2020-04-28 09:29:50 +02:00
2020-04-18 13:24:45 +02:00
2020-05-05 09:15:16 +02:00
2020-04-28 09:29:50 +02:00
2020-04-21 12:23:07 +02:00
2020-04-29 18:47:03 +02:00
2020-04-29 18:47:03 +02:00
2020-05-05 09:15:16 +02:00
2020-05-02 11:41:35 +02:00
2020-04-18 13:24:45 +02:00
2020-04-28 09:29:50 +02:00
2020-04-28 09:29:50 +02:00
2020-05-05 09:15:16 +02:00
2020-05-05 09:15:16 +02:00
2020-05-05 09:15:16 +02:00
2020-05-02 20:41:31 +02:00
2020-04-29 12:41:58 +02:00
2020-05-15 09:53:52 +02:00
2020-05-03 00:44:57 +02:00
2020-05-02 20:43:44 +02:00
2020-05-02 20:43:44 +02:00
2020-05-05 09:15:16 +02:00
2020-04-19 17:34:33 +02:00
2020-04-28 09:29:50 +02:00
2020-04-23 19:38:13 +02:00
2020-04-18 13:24:45 +02:00
2020-05-08 20:06:49 +02:00
2020-04-26 20:36:59 +02:00
2020-04-18 13:24:45 +02:00
2020-04-18 13:24:45 +02:00
2020-05-06 16:40:08 +02:00
2020-05-01 16:54:01 +02:00
2020-05-08 09:49:20 +02:00
2020-04-30 09:53:16 +02:00
2020-04-28 20:03:50 +02:00
2020-04-28 15:07:08 +02:00
2020-04-28 15:07:08 +02:00
2020-04-28 15:07:08 +02:00
2020-05-06 14:49:53 +02:00
2020-05-01 16:54:01 +02:00
2020-05-06 17:40:56 +02:00
2020-05-06 17:40:56 +02:00
2020-04-29 18:47:03 +02:00
2020-04-29 18:47:03 +02:00
2020-05-07 23:05:55 +02:00
2020-05-07 23:05:55 +02:00
2020-04-18 13:24:45 +02:00
2020-04-29 12:33:28 +02:00
2020-05-13 09:36:20 +02:00
2020-05-01 16:50:37 +02:00
2020-05-01 16:54:01 +02:00
2020-05-01 16:54:01 +02:00
2020-05-13 09:36:20 +02:00
2020-05-08 20:06:49 +02:00