()
| 4334 | } |
| 4335 | |
| 4336 | func (p *CommandsParser) Start_() (localctx IStartContext) { |
| 4337 | localctx = NewStartContext(p, p.GetParserRuleContext(), p.GetState()) |
| 4338 | p.EnterRule(localctx, 40, CommandsParserRULE_start) |
| 4339 | p.EnterOuterAlt(localctx, 1) |
| 4340 | { |
| 4341 | p.SetState(214) |
| 4342 | |
| 4343 | var _x = p.Expr() |
| 4344 | |
| 4345 | localctx.(*StartContext).e = _x |
| 4346 | } |
| 4347 | { |
| 4348 | p.SetState(215) |
| 4349 | p.Match(CommandsParserEOF) |
| 4350 | if p.HasError() { |
| 4351 | // Recognition error - abort rule |
| 4352 | goto errorExit |
| 4353 | } |
| 4354 | } |
| 4355 | |
| 4356 | errorExit: |
| 4357 | if p.HasError() { |
| 4358 | v := p.GetError() |
| 4359 | localctx.SetException(v) |
| 4360 | p.GetErrorHandler().ReportError(p, v) |
| 4361 | p.GetErrorHandler().Recover(p, v) |
| 4362 | p.SetError(nil) |
| 4363 | } |
| 4364 | p.ExitRule() |
| 4365 | return localctx |
| 4366 | goto errorExit // Trick to prevent compiler error if the label is not used |
| 4367 | } |
| 4368 | |
| 4369 | // IExprContext is an interface to support dynamic dispatch. |
| 4370 | type IExprContext interface { |
nothing calls this directly
no test coverage detected