()
| 772 | func (s *ConditionalOrContext) SetE1(v []IConditionalAndContext) { s.e1 = v } |
| 773 | |
| 774 | func (s *ConditionalOrContext) AllConditionalAnd() []IConditionalAndContext { |
| 775 | children := s.GetChildren() |
| 776 | len := 0 |
| 777 | for _, ctx := range children { |
| 778 | if _, ok := ctx.(IConditionalAndContext); ok { |
| 779 | len++ |
| 780 | } |
| 781 | } |
| 782 | |
| 783 | tst := make([]IConditionalAndContext, len) |
| 784 | i := 0 |
| 785 | for _, ctx := range children { |
| 786 | if t, ok := ctx.(IConditionalAndContext); ok { |
| 787 | tst[i] = t.(IConditionalAndContext) |
| 788 | i++ |
| 789 | } |
| 790 | } |
| 791 | |
| 792 | return tst |
| 793 | } |
| 794 | |
| 795 | func (s *ConditionalOrContext) ConditionalAnd(i int) IConditionalAndContext { |
| 796 | var t antlr.RuleContext |
nothing calls this directly
no outgoing calls
no test coverage detected