Sam Atkins
a490f24a2d
LibWeb: Add StateTransaction RAII to CSS TokenStream
...
This is modeled after the one in ISO8601Parser. It rolls back the
TokenStream state automatically at the end of scope unless told to
commit the changes. This should be less error-prone than remembering to
manually call `rewind_to_position()` at the correct time.
For convenience, a StateTransaction can have "child" transactions. When
a transaction is committed, it automatically commits its parents too.
This is useful in situations where you have several nested and don't
want to have to remember to manually `commit()` them all.
2022-04-29 00:07:31 +02:00
..
2022-04-29 00:07:31 +02:00
2022-04-12 23:03:46 +02:00
2022-04-14 21:54:10 +02:00
2022-03-17 17:23:49 +00:00
2022-03-17 17:23:49 +00:00
2022-03-28 22:25:25 +02:00
2022-03-28 22:25:25 +02:00
2022-03-28 22:25:25 +02:00
2022-03-17 17:23:49 +00:00
2022-03-17 17:23:49 +00:00
2022-04-12 23:03:46 +02:00
2022-04-01 21:24:45 +01:00
2022-03-17 17:23:49 +00:00
2022-03-17 17:23:49 +00:00
2022-03-17 17:23:49 +00:00
2022-04-11 21:10:08 +02:00
2022-04-11 21:10:08 +02:00
2022-04-11 21:10:08 +02:00
2022-03-17 17:23:49 +00:00
2022-04-12 23:03:46 +02:00
2022-04-11 21:10:07 +02:00
2022-04-11 21:10:07 +02:00
2022-03-17 17:23:49 +00:00
2022-04-01 21:24:45 +01:00
2022-04-12 23:03:46 +02:00
2022-03-30 18:43:07 +02:00
2022-03-17 17:23:49 +00:00
2022-03-17 17:23:49 +00:00
2022-03-26 01:35:39 +00:00
2022-04-13 16:40:46 +02:00
2022-04-14 14:54:06 +02:00
2022-04-07 21:20:14 +02:00
2022-04-07 21:20:14 +02:00
2022-03-16 22:07:53 +01:00
2022-04-09 23:48:18 +02:00
2022-04-01 21:24:45 +01:00
2022-04-14 14:54:06 +02:00
2022-03-16 22:07:53 +01:00
2022-03-17 17:23:49 +00:00
2022-03-17 17:23:49 +00:00
2022-03-30 00:57:15 +02:00
2022-04-12 23:03:46 +02:00
2022-03-17 17:23:49 +00:00
2022-03-17 17:23:49 +00:00
2022-03-31 01:10:47 +02:00
2022-04-23 10:43:32 -07:00
2022-04-03 23:12:13 +02:00
2022-04-14 14:54:06 +02:00
2022-04-23 10:43:32 -07:00
2022-04-23 10:43:32 -07:00
2022-04-18 21:30:51 +02:00
2022-04-11 21:10:07 +02:00
2022-03-08 00:30:30 +01:00
2022-03-08 00:30:30 +01:00
2022-03-29 18:53:20 +02:00
2022-03-29 18:53:20 +02:00
2022-04-01 21:24:45 +01:00
2022-02-25 19:35:34 +01:00
2022-04-18 21:30:51 +02:00
2022-04-12 23:03:46 +02:00
2022-04-14 21:54:10 +02:00
2022-04-14 21:54:10 +02:00
2022-03-09 19:56:08 +01:00
2022-03-09 19:56:08 +01:00
2022-04-08 21:27:35 +02:00
2022-03-29 16:35:46 +02:00
2022-04-18 21:30:51 +02:00
2022-04-18 21:30:51 +02:00
2022-04-12 23:03:46 +02:00
2022-04-12 23:03:46 +02:00
2022-04-18 14:16:28 +02:00
2022-04-07 21:20:14 +02:00