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

Method TemporalBound

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

Source from the content-addressed store, hash-verified

2362}
2363
2364func (p *MangleParser) TemporalBound() (localctx ITemporalBoundContext) {
2365 localctx = NewTemporalBoundContext(p, p.GetParserRuleContext(), p.GetState())
2366 p.EnterRule(localctx, 20, MangleParserRULE_temporalBound)
2367 var _la int
2368
2369 p.EnterOuterAlt(localctx, 1)
2370 {
2371 p.SetState(132)
2372 _la = p.GetTokenStream().LA(1)
2373
2374 if !((int64(_la) & ^0x3f) == 0 && ((int64(1)<<_la)&10445360463904) != 0) {
2375 p.GetErrorHandler().RecoverInline(p)
2376 } else {
2377 p.GetErrorHandler().ReportMatch(p)
2378 p.Consume()
2379 }
2380 }
2381
2382errorExit:
2383 if p.HasError() {
2384 v := p.GetError()
2385 localctx.SetException(v)
2386 p.GetErrorHandler().ReportError(p, v)
2387 p.GetErrorHandler().Recover(p, v)
2388 p.SetError(nil)
2389 }
2390 p.ExitRule()
2391 return localctx
2392 goto errorExit // Trick to prevent compiler error if the label is not used
2393}
2394
2395// IClauseBodyContext is an interface to support dynamic dispatch.
2396type IClauseBodyContext interface {

Callers 2

TemporalAnnotationMethod · 0.95
TemporalOperatorMethod · 0.95

Calls 3

NewTemporalBoundContextFunction · 0.85
EnterRuleMethod · 0.45
ExitRuleMethod · 0.45

Tested by

no test coverage detected