()
| 503 | func (s *ExprContext) SetE2(v IExprContext) { s.e2 = v } |
| 504 | |
| 505 | func (s *ExprContext) AllConditionalOr() []IConditionalOrContext { |
| 506 | children := s.GetChildren() |
| 507 | len := 0 |
| 508 | for _, ctx := range children { |
| 509 | if _, ok := ctx.(IConditionalOrContext); ok { |
| 510 | len++ |
| 511 | } |
| 512 | } |
| 513 | |
| 514 | tst := make([]IConditionalOrContext, len) |
| 515 | i := 0 |
| 516 | for _, ctx := range children { |
| 517 | if t, ok := ctx.(IConditionalOrContext); ok { |
| 518 | tst[i] = t.(IConditionalOrContext) |
| 519 | i++ |
| 520 | } |
| 521 | } |
| 522 | |
| 523 | return tst |
| 524 | } |
| 525 | |
| 526 | func (s *ExprContext) ConditionalOr(i int) IConditionalOrContext { |
| 527 | var t antlr.RuleContext |
nothing calls this directly
no outgoing calls
no test coverage detected