mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 19:07:35 +00:00
LibWeb: Remove TokenStream::position() and ::rewind_to_position()
This commit is contained in:
parent
2b3185955e
commit
56e8e0daa1
2 changed files with 0 additions and 9 deletions
|
@ -114,13 +114,6 @@ void TokenStream<T>::reconsume_current_input_token()
|
||||||
--m_iterator_offset;
|
--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>
|
template<typename T>
|
||||||
void TokenStream<T>::skip_whitespace()
|
void TokenStream<T>::skip_whitespace()
|
||||||
{
|
{
|
||||||
|
|
|
@ -104,8 +104,6 @@ public:
|
||||||
void reconsume_current_input_token();
|
void reconsume_current_input_token();
|
||||||
|
|
||||||
StateTransaction begin_transaction() { return StateTransaction(*this); }
|
StateTransaction begin_transaction() { return StateTransaction(*this); }
|
||||||
int position() const { return m_iterator_offset; }
|
|
||||||
void rewind_to_position(int);
|
|
||||||
|
|
||||||
void skip_whitespace();
|
void skip_whitespace();
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue