()
| 1993 | } |
| 1994 | |
| 1995 | func (p *MangleParser) Clause() (localctx IClauseContext) { |
| 1996 | localctx = NewClauseContext(p, p.GetParserRuleContext(), p.GetState()) |
| 1997 | p.EnterRule(localctx, 16, MangleParserRULE_clause) |
| 1998 | var _la int |
| 1999 | |
| 2000 | p.EnterOuterAlt(localctx, 1) |
| 2001 | { |
| 2002 | p.SetState(113) |
| 2003 | p.Atom() |
| 2004 | } |
| 2005 | p.SetState(115) |
| 2006 | p.GetErrorHandler().Sync(p) |
| 2007 | if p.HasError() { |
| 2008 | goto errorExit |
| 2009 | } |
| 2010 | _la = p.GetTokenStream().LA(1) |
| 2011 | |
| 2012 | if _la == MangleParserAT { |
| 2013 | { |
| 2014 | p.SetState(114) |
| 2015 | p.TemporalAnnotation() |
| 2016 | } |
| 2017 | |
| 2018 | } |
| 2019 | p.SetState(119) |
| 2020 | p.GetErrorHandler().Sync(p) |
| 2021 | if p.HasError() { |
| 2022 | goto errorExit |
| 2023 | } |
| 2024 | _la = p.GetTokenStream().LA(1) |
| 2025 | |
| 2026 | if _la == MangleParserLONGLEFTDOUBLEARROW || _la == MangleParserCOLONDASH { |
| 2027 | { |
| 2028 | p.SetState(117) |
| 2029 | _la = p.GetTokenStream().LA(1) |
| 2030 | |
| 2031 | if !(_la == MangleParserLONGLEFTDOUBLEARROW || _la == MangleParserCOLONDASH) { |
| 2032 | p.GetErrorHandler().RecoverInline(p) |
| 2033 | } else { |
| 2034 | p.GetErrorHandler().ReportMatch(p) |
| 2035 | p.Consume() |
| 2036 | } |
| 2037 | } |
| 2038 | { |
| 2039 | p.SetState(118) |
| 2040 | p.ClauseBody() |
| 2041 | } |
| 2042 | |
| 2043 | } |
| 2044 | { |
| 2045 | p.SetState(121) |
| 2046 | p.Match(MangleParserT__1) |
| 2047 | if p.HasError() { |
| 2048 | // Recognition error - abort rule |
| 2049 | goto errorExit |
| 2050 | } |
| 2051 | } |
| 2052 |
no test coverage detected