mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-12 19:19:30 +00:00
LibWeb: Allow peeking more than 1 token ahead in CSS Parser
This commit is contained in:
parent
919eb7c0aa
commit
d6668dbc56
Notes:
sideshowbarker
2024-07-18 07:42:19 +09:00
Author: https://github.com/AtkinsSJ
Commit: d6668dbc56
Pull-request: https://github.com/SerenityOS/serenity/pull/9073
Reviewed-by: https://github.com/TobyAsE
Reviewed-by: https://github.com/alimpfard
2 changed files with 3 additions and 3 deletions
|
@ -52,7 +52,7 @@ public:
|
|||
|
||||
bool has_next_token();
|
||||
T const& next_token();
|
||||
T const& peek_token();
|
||||
T const& peek_token(int offset = 0);
|
||||
T const& current_token();
|
||||
void reconsume_current_input_token();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue