We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8ce38fd commit ae64cffCopy full SHA for ae64cff
Userland/Libraries/LibWeb/CSS/Parser/TokenStream.h
@@ -107,6 +107,9 @@ class TokenStream {
107
next_token();
108
}
109
110
+ size_t token_count() const { return m_tokens.size(); }
111
+ size_t remaining_token_count() const { return token_count() - m_iterator_offset - 1; }
112
+
113
void dump_all_tokens()
114
{
115
dbgln("Dumping all tokens:");
0 commit comments