keywords method
Implementation
KeywordsContext keywords() {
dynamic _localctx = KeywordsContext(context, state);
enterRule(_localctx, 102, RULE_keywords);
int _la;
try {
enterOuterAlt(_localctx, 1);
state = 541;
_la = tokenStream.LA(1)!;
if (!((((_la) & ~0x3f) == 0 && ((BigInt.one << _la) & ((BigInt.one << TOKEN_SYNTAX) | (BigInt.one << TOKEN_IMPORT) | (BigInt.one << TOKEN_WEAK) | (BigInt.one << TOKEN_PUBLIC) | (BigInt.one << TOKEN_PACKAGE) | (BigInt.one << TOKEN_OPTION) | (BigInt.one << TOKEN_REPEATED) | (BigInt.one << TOKEN_ONEOF) | (BigInt.one << TOKEN_MAP) | (BigInt.one << TOKEN_INT32) | (BigInt.one << TOKEN_INT64) | (BigInt.one << TOKEN_UINT32) | (BigInt.one << TOKEN_UINT64) | (BigInt.one << TOKEN_SINT32) | (BigInt.one << TOKEN_SINT64) | (BigInt.one << TOKEN_FIXED32) | (BigInt.one << TOKEN_FIXED64) | (BigInt.one << TOKEN_SFIXED32) | (BigInt.one << TOKEN_SFIXED64) | (BigInt.one << TOKEN_BOOL) | (BigInt.one << TOKEN_STRING) | (BigInt.one << TOKEN_DOUBLE) | (BigInt.one << TOKEN_FLOAT) | (BigInt.one << TOKEN_BYTES) | (BigInt.one << TOKEN_RESERVED) | (BigInt.one << TOKEN_TO) | (BigInt.one << TOKEN_MAX) | (BigInt.one << TOKEN_ENUM) | (BigInt.one << TOKEN_MESSAGE) | (BigInt.one << TOKEN_SERVICE) | (BigInt.one << TOKEN_RPC) | (BigInt.one << TOKEN_STREAM) | (BigInt.one << TOKEN_RETURNS) | (BigInt.one << TOKEN_BOOL_LIT))) != 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;
}