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

Method TemporalAnnotation

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

Source from the content-addressed store, hash-verified

2202}
2203
2204func (p *MangleParser) TemporalAnnotation() (localctx ITemporalAnnotationContext) {
2205 localctx = NewTemporalAnnotationContext(p, p.GetParserRuleContext(), p.GetState())
2206 p.EnterRule(localctx, 18, MangleParserRULE_temporalAnnotation)
2207 var _la int
2208
2209 p.EnterOuterAlt(localctx, 1)
2210 {
2211 p.SetState(123)
2212 p.Match(MangleParserAT)
2213 if p.HasError() {
2214 // Recognition error - abort rule
2215 goto errorExit
2216 }
2217 }
2218 {
2219 p.SetState(124)
2220 p.Match(MangleParserLBRACKET)
2221 if p.HasError() {
2222 // Recognition error - abort rule
2223 goto errorExit
2224 }
2225 }
2226 {
2227 p.SetState(125)
2228 p.TemporalBound()
2229 }
2230 p.SetState(128)
2231 p.GetErrorHandler().Sync(p)
2232 if p.HasError() {
2233 goto errorExit
2234 }
2235 _la = p.GetTokenStream().LA(1)
2236
2237 if _la == MangleParserCOMMA {
2238 {
2239 p.SetState(126)
2240 p.Match(MangleParserCOMMA)
2241 if p.HasError() {
2242 // Recognition error - abort rule
2243 goto errorExit
2244 }
2245 }
2246 {
2247 p.SetState(127)
2248 p.TemporalBound()
2249 }
2250
2251 }
2252 {
2253 p.SetState(130)
2254 p.Match(MangleParserRBRACKET)
2255 if p.HasError() {
2256 // Recognition error - abort rule
2257 goto errorExit
2258 }
2259 }
2260
2261errorExit:

Callers 2

ClauseMethod · 0.95
LiteralOrFmlMethod · 0.95

Calls 4

TemporalBoundMethod · 0.95
EnterRuleMethod · 0.45
ExitRuleMethod · 0.45

Tested by

no test coverage detected