()
| 4461 | func (s *ExprContext) SetE2(v IExprContext) { s.e2 = v } |
| 4462 | |
| 4463 | func (s *ExprContext) AllConditionalOr() []IConditionalOrContext { |
| 4464 | children := s.GetChildren() |
| 4465 | len := 0 |
| 4466 | for _, ctx := range children { |
| 4467 | if _, ok := ctx.(IConditionalOrContext); ok { |
| 4468 | len++ |
| 4469 | } |
| 4470 | } |
| 4471 | |
| 4472 | tst := make([]IConditionalOrContext, len) |
| 4473 | i := 0 |
| 4474 | for _, ctx := range children { |
| 4475 | if t, ok := ctx.(IConditionalOrContext); ok { |
| 4476 | tst[i] = t.(IConditionalOrContext) |
| 4477 | i++ |
| 4478 | } |
| 4479 | } |
| 4480 | |
| 4481 | return tst |
| 4482 | } |
| 4483 | |
| 4484 | func (s *ExprContext) ConditionalOr(i int) IConditionalOrContext { |
| 4485 | var t antlr.RuleContext |
nothing calls this directly
no outgoing calls
no test coverage detected