()
| 1640 | } |
| 1641 | |
| 1642 | func (p *MangleParser) BoundsBlock() (localctx IBoundsBlockContext) { |
| 1643 | localctx = NewBoundsBlockContext(p, p.GetParserRuleContext(), p.GetState()) |
| 1644 | p.EnterRule(localctx, 12, MangleParserRULE_boundsBlock) |
| 1645 | var _la int |
| 1646 | |
| 1647 | var _alt int |
| 1648 | |
| 1649 | p.EnterOuterAlt(localctx, 1) |
| 1650 | { |
| 1651 | p.SetState(95) |
| 1652 | p.Match(MangleParserBOUND) |
| 1653 | if p.HasError() { |
| 1654 | // Recognition error - abort rule |
| 1655 | goto errorExit |
| 1656 | } |
| 1657 | } |
| 1658 | { |
| 1659 | p.SetState(96) |
| 1660 | p.Match(MangleParserLBRACKET) |
| 1661 | if p.HasError() { |
| 1662 | // Recognition error - abort rule |
| 1663 | goto errorExit |
| 1664 | } |
| 1665 | } |
| 1666 | p.SetState(102) |
| 1667 | p.GetErrorHandler().Sync(p) |
| 1668 | if p.HasError() { |
| 1669 | goto errorExit |
| 1670 | } |
| 1671 | _alt = p.GetInterpreter().AdaptivePredict(p.BaseParser, p.GetTokenStream(), 10, p.GetParserRuleContext()) |
| 1672 | if p.HasError() { |
| 1673 | goto errorExit |
| 1674 | } |
| 1675 | for _alt != 2 && _alt != antlr.ATNInvalidAltNumber { |
| 1676 | if _alt == 1 { |
| 1677 | { |
| 1678 | p.SetState(97) |
| 1679 | p.Term() |
| 1680 | } |
| 1681 | { |
| 1682 | p.SetState(98) |
| 1683 | p.Match(MangleParserCOMMA) |
| 1684 | if p.HasError() { |
| 1685 | // Recognition error - abort rule |
| 1686 | goto errorExit |
| 1687 | } |
| 1688 | } |
| 1689 | |
| 1690 | } |
| 1691 | p.SetState(104) |
| 1692 | p.GetErrorHandler().Sync(p) |
| 1693 | if p.HasError() { |
| 1694 | goto errorExit |
| 1695 | } |
| 1696 | _alt = p.GetInterpreter().AdaptivePredict(p.BaseParser, p.GetTokenStream(), 10, p.GetParserRuleContext()) |
| 1697 | if p.HasError() { |
| 1698 | goto errorExit |
| 1699 | } |
no test coverage detected