LibWeb: Remove TokenStream::position() and ::rewind_to_position()

This commit is contained in:
Sam Atkins 2022-04-27 20:11:40 +01:00 committed by Andreas Kling
parent 2b3185955e
commit 56e8e0daa1
Notes: sideshowbarker 2024-07-17 11:28:34 +09:00
2 changed files with 0 additions and 9 deletions

View file

@ -114,13 +114,6 @@ void TokenStream<T>::reconsume_current_input_token()
--m_iterator_offset;
}
template<typename T>
void TokenStream<T>::rewind_to_position(int position)
{
VERIFY(position <= m_iterator_offset);
m_iterator_offset = position;
}
template<typename T>
void TokenStream<T>::skip_whitespace()
{

View file

@ -104,8 +104,6 @@ public:
void reconsume_current_input_token();
StateTransaction begin_transaction() { return StateTransaction(*this); }
int position() const { return m_iterator_offset; }
void rewind_to_position(int);
void skip_whitespace();