mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-26 09:30:24 +00:00
LibWeb: Remove TokenStream::position() and ::rewind_to_position()
This commit is contained in:
parent
2b3185955e
commit
56e8e0daa1
Notes:
sideshowbarker
2024-07-17 11:28:34 +09:00
Author: https://github.com/AtkinsSJ Commit: https://github.com/SerenityOS/serenity/commit/56e8e0daa1 Pull-request: https://github.com/SerenityOS/serenity/pull/13824
2 changed files with 0 additions and 9 deletions
|
@ -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()
|
||||
{
|
||||
|
|
|
@ -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();
|
||||
|
||||
|
|
Loading…
Reference in a new issue