()
| 1269 | } |
| 1270 | |
| 1271 | func (p *MangleParser) Decl() (localctx IDeclContext) { |
| 1272 | localctx = NewDeclContext(p, p.GetParserRuleContext(), p.GetState()) |
| 1273 | p.EnterRule(localctx, 8, MangleParserRULE_decl) |
| 1274 | var _la int |
| 1275 | |
| 1276 | p.EnterOuterAlt(localctx, 1) |
| 1277 | { |
| 1278 | p.SetState(73) |
| 1279 | p.Match(MangleParserDECL) |
| 1280 | if p.HasError() { |
| 1281 | // Recognition error - abort rule |
| 1282 | goto errorExit |
| 1283 | } |
| 1284 | } |
| 1285 | { |
| 1286 | p.SetState(74) |
| 1287 | p.Atom() |
| 1288 | } |
| 1289 | p.SetState(76) |
| 1290 | p.GetErrorHandler().Sync(p) |
| 1291 | if p.HasError() { |
| 1292 | goto errorExit |
| 1293 | } |
| 1294 | _la = p.GetTokenStream().LA(1) |
| 1295 | |
| 1296 | if _la == MangleParserT__0 { |
| 1297 | { |
| 1298 | p.SetState(75) |
| 1299 | p.Match(MangleParserT__0) |
| 1300 | if p.HasError() { |
| 1301 | // Recognition error - abort rule |
| 1302 | goto errorExit |
| 1303 | } |
| 1304 | } |
| 1305 | |
| 1306 | } |
| 1307 | p.SetState(79) |
| 1308 | p.GetErrorHandler().Sync(p) |
| 1309 | if p.HasError() { |
| 1310 | goto errorExit |
| 1311 | } |
| 1312 | _la = p.GetTokenStream().LA(1) |
| 1313 | |
| 1314 | if _la == MangleParserT__2 { |
| 1315 | { |
| 1316 | p.SetState(78) |
| 1317 | p.DescrBlock() |
| 1318 | } |
| 1319 | |
| 1320 | } |
| 1321 | p.SetState(84) |
| 1322 | p.GetErrorHandler().Sync(p) |
| 1323 | if p.HasError() { |
| 1324 | goto errorExit |
| 1325 | } |
| 1326 | _la = p.GetTokenStream().LA(1) |
| 1327 | |
| 1328 | for _la == MangleParserBOUND { |
no test coverage detected