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

Method ConstraintsBlock

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

Source from the content-addressed store, hash-verified

1827}
1828
1829func (p *MangleParser) ConstraintsBlock() (localctx IConstraintsBlockContext) {
1830 localctx = NewConstraintsBlockContext(p, p.GetParserRuleContext(), p.GetState())
1831 p.EnterRule(localctx, 14, MangleParserRULE_constraintsBlock)
1832 p.EnterOuterAlt(localctx, 1)
1833 {
1834 p.SetState(110)
1835 p.Match(MangleParserT__3)
1836 if p.HasError() {
1837 // Recognition error - abort rule
1838 goto errorExit
1839 }
1840 }
1841 {
1842 p.SetState(111)
1843 p.Atoms()
1844 }
1845
1846errorExit:
1847 if p.HasError() {
1848 v := p.GetError()
1849 localctx.SetException(v)
1850 p.GetErrorHandler().ReportError(p, v)
1851 p.GetErrorHandler().Recover(p, v)
1852 p.SetError(nil)
1853 }
1854 p.ExitRule()
1855 return localctx
1856 goto errorExit // Trick to prevent compiler error if the label is not used
1857}
1858
1859// IClauseContext is an interface to support dynamic dispatch.
1860type IClauseContext interface {

Callers 1

DeclMethod · 0.95

Calls 4

AtomsMethod · 0.95
EnterRuleMethod · 0.45
ExitRuleMethod · 0.45

Tested by

no test coverage detected