parse_Subject method

dynamic parse_Subject()

Implementation

dynamic parse_Subject() {
  var $$;
  switch (_ch >= 0 && _ch <= 1114111
      ? 0
      : _ch == -1
          ? 2
          : 1) {
    case 0:
    case 2:
      var startPos0 = _startPos;
      _startPos = _cursor;
      var testing0 = _testing;
      _testing = _cursor;
      switch (_getState(_transitions9)) {
        case 0:
        case 2:
          var startPos1 = _startPos;
          _startPos = _cursor;
          $$ = _parse_TEXT_UTF8_TRIM();
          _startPos = startPos1;
          break;
        case 1:
          $$ = null;
          success = false;
          break;
      }
      if (!success && _cursor > _testing) {
        _failure(const [null]);
      }
      success = true;
      _testing = testing0;
      _startPos = startPos0;
      break;
    case 1:
      $$ = null;
      success = true;
      break;
  }
  if (!success && _cursor > _testing) {
    _failure(_expect14);
  }
  return $$;
}