enumValueOptions method
Implementation
EnumValueOptionsContext enumValueOptions() {
dynamic _localctx = EnumValueOptionsContext(context, state);
enterRule(_localctx, 50, RULE_enumValueOptions);
int _la;
try {
enterOuterAlt(_localctx, 1);
state = 347;
match(TOKEN_LB);
state = 348;
enumValueOption();
state = 353;
errorHandler.sync(this);
_la = tokenStream.LA(1)!;
while (_la == TOKEN_COMMA) {
state = 349;
match(TOKEN_COMMA);
state = 350;
enumValueOption();
state = 355;
errorHandler.sync(this);
_la = tokenStream.LA(1)!;
}
state = 356;
match(TOKEN_RB);
} on RecognitionException catch (re) {
_localctx.exception = re;
errorHandler.reportError(this, re);
errorHandler.recover(this, re);
} finally {
exitRule();
}
return _localctx;
}