natType method

NatTypeContext natType()

Implementation

NatTypeContext natType() {
  dynamic _localctx = NatTypeContext(context, state);
  enterRule(_localctx, 2, RULE_natType);
  int _la;
  try {
    enterOuterAlt(_localctx, 1);
    state = 66;
    _la = tokenStream.LA(1)!;
    if (!((((_la) & ~0x3f) == 0 && ((1 << _la) & 124) != 0))) {
    errorHandler.recoverInline(this);
    } else {
      if ( tokenStream.LA(1)! == IntStream.EOF ) matchedEOF = true;
      errorHandler.reportMatch(this);
      consume();
    }
  } on RecognitionException catch (re) {
    _localctx.exception = re;
    errorHandler.reportError(this, re);
    errorHandler.recover(this, re);
  } finally {
    exitRule();
  }
  return _localctx;
}