oneofField method
Implementation
OneofFieldContext oneofField() {
dynamic _localctx = OneofFieldContext(context, state);
enterRule(_localctx, 24, RULE_oneofField);
int _la;
try {
enterOuterAlt(_localctx, 1);
state = 220;
type_();
state = 221;
fieldName();
state = 222;
match(TOKEN_EQ);
state = 223;
fieldNumber();
state = 228;
errorHandler.sync(this);
_la = tokenStream.LA(1)!;
if (_la == TOKEN_LB) {
state = 224;
match(TOKEN_LB);
state = 225;
fieldOptions();
state = 226;
match(TOKEN_RB);
}
state = 230;
match(TOKEN_SEMI);
} on RecognitionException catch (re) {
_localctx.exception = re;
errorHandler.reportError(this, re);
errorHandler.recover(this, re);
} finally {
exitRule();
}
return _localctx;
}