| 5396 | } |
| 5397 | |
| 5398 | func (p *MangleParser) Atom() (localctx IAtomContext) { |
| 5399 | localctx = NewAtomContext(p, p.GetParserRuleContext(), p.GetState()) |
| 5400 | p.EnterRule(localctx, 36, MangleParserRULE_atom) |
| 5401 | p.EnterOuterAlt(localctx, 1) |
| 5402 | { |
| 5403 | p.SetState(325) |
| 5404 | p.Term() |
| 5405 | } |
| 5406 | |
| 5407 | errorExit: |
| 5408 | if p.HasError() { |
| 5409 | v := p.GetError() |
| 5410 | localctx.SetException(v) |
| 5411 | p.GetErrorHandler().ReportError(p, v) |
| 5412 | p.GetErrorHandler().Recover(p, v) |
| 5413 | p.SetError(nil) |
| 5414 | } |
| 5415 | p.ExitRule() |
| 5416 | return localctx |
| 5417 | goto errorExit // Trick to prevent compiler error if the label is not used |
| 5418 | } |
| 5419 | |
| 5420 | // IAtomsContext is an interface to support dynamic dispatch. |
| 5421 | type IAtomsContext interface { |