mirror of
https://github.com/RGBCube/serenity
synced 2025-05-14 19:54:57 +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 |