Пример #1
0
void SegmentedString::advanceAndUpdateLineNumber16()
{
    ASSERT(m_currentSubstring.doNotExcludeLineNumbers);
    processPossibleNewline();
    m_currentCharacter = *++m_currentSubstring.currentCharacter16;
    decrementAndCheckLength();
}
Пример #2
0
void SegmentedString::advanceAndUpdateLineNumber16() {
  ASSERT(m_currentString.getCurrentChar() == m_currentChar);
  if (m_currentChar == '\n') {
    ++m_currentLine;
    m_numberOfCharactersConsumedPriorToCurrentLine =
        numberOfCharactersConsumed() + 1;
  }
  decrementAndCheckLength();
  m_currentChar = m_currentString.incrementAndGetCurrentChar16();
}
Пример #3
0
void SegmentedString::advance16()
{
    ASSERT(!m_pushedChar1);
    decrementAndCheckLength();
    m_currentChar = m_currentString.incrementAndGetCurrentChar16();
}
Пример #4
0
void SegmentedString::advance16() {
  decrementAndCheckLength();
  m_currentChar = m_currentString.incrementAndGetCurrentChar16();
}
Пример #5
0
void SegmentedString::advanceWithoutUpdatingLineNumber16()
{
    m_currentCharacter = *++m_currentSubstring.currentCharacter16;
    decrementAndCheckLength();
}