parse_message_body method

dynamic parse_message_body()

Implementation

dynamic parse_message_body() {
  var $$;
  switch (_ch >= 0 && _ch <= 1114111
      ? 0
      : _ch == -1
          ? 2
          : 1) {
    case 0:
    case 2:
      var startPos0 = _startPos;
      _startPos = _cursor;
      var testing0 = _testing;
      for (var reps = [];;) {
        _testing = _cursor;
        $$ = _parse_OCTET();
        if (success) {
          reps.add($$);
        } else {
          success = true;
          _testing = testing0;
          $$ = reps;
          break;
        }
      }
      _startPos = startPos0;
      break;
    case 1:
      $$ = null;
      success = true;
      break;
  }
  if (!success && _cursor > _testing) {
    _failure(_expect14);
  }
  return $$;
}