()
| 552 | } |
| 553 | |
| 554 | func (s *ExprContext) Expr() IExprContext { |
| 555 | var t antlr.RuleContext |
| 556 | for _, ctx := range s.GetChildren() { |
| 557 | if _, ok := ctx.(IExprContext); ok { |
| 558 | t = ctx.(antlr.RuleContext) |
| 559 | break |
| 560 | } |
| 561 | } |
| 562 | |
| 563 | if t == nil { |
| 564 | return nil |
| 565 | } |
| 566 | |
| 567 | return t.(IExprContext) |
| 568 | } |
| 569 | |
| 570 | func (s *ExprContext) GetRuleContext() antlr.RuleContext { |
| 571 | return s |
nothing calls this directly
no outgoing calls
no test coverage detected