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

Method TemporalOperator

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

Source from the content-addressed store, hash-verified

3559}
3560
3561func (p *MangleParser) TemporalOperator() (localctx ITemporalOperatorContext) {
3562 localctx = NewTemporalOperatorContext(p, p.GetParserRuleContext(), p.GetState())
3563 p.EnterRule(localctx, 30, MangleParserRULE_temporalOperator)
3564 p.SetState(223)
3565 p.GetErrorHandler().Sync(p)
3566 if p.HasError() {
3567 goto errorExit
3568 }
3569
3570 switch p.GetTokenStream().LA(1) {
3571 case MangleParserDIAMONDMINUS:
3572 p.EnterOuterAlt(localctx, 1)
3573 {
3574 p.SetState(195)
3575 p.Match(MangleParserDIAMONDMINUS)
3576 if p.HasError() {
3577 // Recognition error - abort rule
3578 goto errorExit
3579 }
3580 }
3581 {
3582 p.SetState(196)
3583 p.Match(MangleParserLBRACKET)
3584 if p.HasError() {
3585 // Recognition error - abort rule
3586 goto errorExit
3587 }
3588 }
3589 {
3590 p.SetState(197)
3591 p.TemporalBound()
3592 }
3593 {
3594 p.SetState(198)
3595 p.Match(MangleParserCOMMA)
3596 if p.HasError() {
3597 // Recognition error - abort rule
3598 goto errorExit
3599 }
3600 }
3601 {
3602 p.SetState(199)
3603 p.TemporalBound()
3604 }
3605 {
3606 p.SetState(200)
3607 p.Match(MangleParserRBRACKET)
3608 if p.HasError() {
3609 // Recognition error - abort rule
3610 goto errorExit
3611 }
3612 }
3613
3614 case MangleParserBOXMINUS:
3615 p.EnterOuterAlt(localctx, 2)
3616 {
3617 p.SetState(202)
3618 p.Match(MangleParserBOXMINUS)

Callers 1

LiteralOrFmlMethod · 0.95

Calls 4

TemporalBoundMethod · 0.95
EnterRuleMethod · 0.45
ExitRuleMethod · 0.45

Tested by

no test coverage detected