eatQuestionMarks method

void eatQuestionMarks()

Implementation

void eatQuestionMarks() {
  while (_index < _text.length) {
    if (_text.codeUnitAt(_index) == QUESTION_MARK) {
      _index += 1;
    } else {
      return;
    }
  }
}