MCPcopy Index your code
hub / github.com/google/mangle / DescrBlock

Method DescrBlock

parse/gen/mangle_parser.go:1469–1497  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1467}
1468
1469func (p *MangleParser) DescrBlock() (localctx IDescrBlockContext) {
1470 localctx = NewDescrBlockContext(p, p.GetParserRuleContext(), p.GetState())
1471 p.EnterRule(localctx, 10, MangleParserRULE_descrBlock)
1472 p.EnterOuterAlt(localctx, 1)
1473 {
1474 p.SetState(92)
1475 p.Match(MangleParserT__2)
1476 if p.HasError() {
1477 // Recognition error - abort rule
1478 goto errorExit
1479 }
1480 }
1481 {
1482 p.SetState(93)
1483 p.Atoms()
1484 }
1485
1486errorExit:
1487 if p.HasError() {
1488 v := p.GetError()
1489 localctx.SetException(v)
1490 p.GetErrorHandler().ReportError(p, v)
1491 p.GetErrorHandler().Recover(p, v)
1492 p.SetError(nil)
1493 }
1494 p.ExitRule()
1495 return localctx
1496 goto errorExit // Trick to prevent compiler error if the label is not used
1497}
1498
1499// IBoundsBlockContext is an interface to support dynamic dispatch.
1500type IBoundsBlockContext interface {

Callers 1

DeclMethod · 0.95

Calls 4

AtomsMethod · 0.95
NewDescrBlockContextFunction · 0.85
EnterRuleMethod · 0.45
ExitRuleMethod · 0.45

Tested by

no test coverage detected