parse_LHEX method

dynamic parse_LHEX()

Implementation

dynamic parse_LHEX() {
  var $$;
  switch (_getState(_transitions12)) {
    case 0:
      var startPos0 = _startPos;
      _startPos = _cursor;
      $$ = _parse_DIGIT();
      _startPos = startPos0;
      break;
    case 1:
      var startPos1 = _startPos;
      _startPos = _cursor;
      $$ = _matchRange(97, 102);
      _startPos = startPos1;
      break;
    case 2:
    case 3:
      $$ = null;
      success = false;
      break;
  }
  if (!success && _cursor > _testing) {
    _failure(const [null]);
  }
  return $$;
}