mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 10:58:12 +00:00
AK: Rename Utf8CodepointIterator => Utf8CodePointIterator
This commit is contained in:
parent
628c7f094f
commit
407d6cd9e4
8 changed files with 37 additions and 37 deletions
|
@ -2675,7 +2675,7 @@ bool HTMLTokenizer::consumed_as_part_of_an_attribute() const
|
|||
return m_return_state == State::AttributeValueUnquoted || m_return_state == State::AttributeValueSingleQuoted || m_return_state == State::AttributeValueDoubleQuoted;
|
||||
}
|
||||
|
||||
void HTMLTokenizer::restore_to(const Utf8CodepointIterator& new_iterator)
|
||||
void HTMLTokenizer::restore_to(const Utf8CodePointIterator& new_iterator)
|
||||
{
|
||||
if (new_iterator != m_prev_utf8_iterator) {
|
||||
auto diff = m_prev_utf8_iterator - new_iterator;
|
||||
|
|
|
@ -146,7 +146,7 @@ private:
|
|||
|
||||
bool consumed_as_part_of_an_attribute() const;
|
||||
|
||||
void restore_to(const Utf8CodepointIterator& new_iterator);
|
||||
void restore_to(const Utf8CodePointIterator& new_iterator);
|
||||
auto& nth_last_position(size_t n = 0) { return m_source_positions.at(m_source_positions.size() - 1 - n); }
|
||||
|
||||
State m_state { State::Data };
|
||||
|
@ -159,8 +159,8 @@ private:
|
|||
StringView m_input;
|
||||
|
||||
Utf8View m_utf8_view;
|
||||
Utf8CodepointIterator m_utf8_iterator;
|
||||
Utf8CodepointIterator m_prev_utf8_iterator;
|
||||
Utf8CodePointIterator m_utf8_iterator;
|
||||
Utf8CodePointIterator m_prev_utf8_iterator;
|
||||
|
||||
HTMLToken m_current_token;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue