mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-05-03 17:58:49 +00:00
The following is a common (and soon to be *very* common) expression: if (match(token_type)) consume(); Using consume_if() makes this a bit simpler and makes it less likely to forget to invoke consume() after the match(). |
||
---|---|---|
.. | ||
Tests | ||
AST.h | ||
CMakeLists.txt | ||
Lexer.cpp | ||
Lexer.h | ||
Parser.cpp | ||
Parser.h | ||
Token.cpp | ||
Token.h |