(_p int)
| 6495 | } |
| 6496 | |
| 6497 | func (p *CommandsParser) member(_p int) (localctx IMemberContext) { |
| 6498 | var _parentctx antlr.ParserRuleContext = p.GetParserRuleContext() |
| 6499 | |
| 6500 | _parentState := p.GetState() |
| 6501 | localctx = NewMemberContext(p, p.GetParserRuleContext(), _parentState) |
| 6502 | var _prevctx IMemberContext = localctx |
| 6503 | var _ antlr.ParserRuleContext = _prevctx // TODO: To prevent unused variable warning. |
| 6504 | _startState := 54 |
| 6505 | p.EnterRecursionRule(localctx, 54, CommandsParserRULE_member, _p) |
| 6506 | var _la int |
| 6507 | |
| 6508 | var _alt int |
| 6509 | |
| 6510 | p.EnterOuterAlt(localctx, 1) |
| 6511 | localctx = NewPrimaryExprContext(p, localctx) |
| 6512 | p.SetParserRuleContext(localctx) |
| 6513 | _prevctx = localctx |
| 6514 | |
| 6515 | { |
| 6516 | p.SetState(282) |
| 6517 | p.Primary() |
| 6518 | } |
| 6519 | |
| 6520 | p.GetParserRuleContext().SetStop(p.GetTokenStream().LT(-1)) |
| 6521 | p.SetState(308) |
| 6522 | p.GetErrorHandler().Sync(p) |
| 6523 | if p.HasError() { |
| 6524 | goto errorExit |
| 6525 | } |
| 6526 | _alt = p.GetInterpreter().AdaptivePredict(p.BaseParser, p.GetTokenStream(), 33, p.GetParserRuleContext()) |
| 6527 | if p.HasError() { |
| 6528 | goto errorExit |
| 6529 | } |
| 6530 | for _alt != 2 && _alt != antlr.ATNInvalidAltNumber { |
| 6531 | if _alt == 1 { |
| 6532 | if p.GetParseListeners() != nil { |
| 6533 | p.TriggerExitRuleEvent() |
| 6534 | } |
| 6535 | _prevctx = localctx |
| 6536 | p.SetState(306) |
| 6537 | p.GetErrorHandler().Sync(p) |
| 6538 | if p.HasError() { |
| 6539 | goto errorExit |
| 6540 | } |
| 6541 | |
| 6542 | switch p.GetInterpreter().AdaptivePredict(p.BaseParser, p.GetTokenStream(), 32, p.GetParserRuleContext()) { |
| 6543 | case 1: |
| 6544 | localctx = NewSelectContext(p, NewMemberContext(p, _parentctx, _parentState)) |
| 6545 | p.PushNewRecursionContext(localctx, _startState, CommandsParserRULE_member) |
| 6546 | p.SetState(284) |
| 6547 | |
| 6548 | if !(p.Precpred(p.GetParserRuleContext(), 3)) { |
| 6549 | p.SetError(antlr.NewFailedPredicateException(p, "p.Precpred(p.GetParserRuleContext(), 3)", "")) |
| 6550 | goto errorExit |
| 6551 | } |
| 6552 | { |
| 6553 | p.SetState(285) |
| 6554 |
no test coverage detected