enumValueOption method

EnumValueOptionContext enumValueOption()

Implementation

EnumValueOptionContext enumValueOption() {
  dynamic _localctx = EnumValueOptionContext(context, state);
  enterRule(_localctx, 52, RULE_enumValueOption);
  try {
    enterOuterAlt(_localctx, 1);
    state = 358;
    optionName();
    state = 359;
    match(TOKEN_EQ);
    state = 360;
    constant();
  } on RecognitionException catch (re) {
    _localctx.exception = re;
    errorHandler.reportError(this, re);
    errorHandler.recover(this, re);
  } finally {
    exitRule();
  }
  return _localctx;
}