natType method
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 && ((BigInt.one << _la) & ((BigInt.one << TOKEN_T__1) | (BigInt.one << TOKEN_T__2) | (BigInt.one << TOKEN_T__3) | (BigInt.one << TOKEN_T__4) | (BigInt.one << TOKEN_T__5))) != BigInt.zero))) {
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;
}