mirror of
https://github.com/RGBCube/serenity
synced 2025-05-16 19:05:08 +00:00
![]() 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. |
||
---|---|---|
.. | ||
Block.cpp | ||
Block.h | ||
ComponentValue.cpp | ||
ComponentValue.h | ||
Declaration.cpp | ||
Declaration.h | ||
DeclarationOrAtRule.cpp | ||
DeclarationOrAtRule.h | ||
Function.cpp | ||
Function.h | ||
Parser.cpp | ||
Parser.h | ||
Rule.cpp | ||
Rule.h | ||
Token.cpp | ||
Token.h | ||
Tokenizer.cpp | ||
Tokenizer.h |