(i int)
| 1039 | } |
| 1040 | |
| 1041 | func (s *ConditionalAndContext) Relation(i int) IRelationContext { |
| 1042 | var t antlr.RuleContext |
| 1043 | j := 0 |
| 1044 | for _, ctx := range s.GetChildren() { |
| 1045 | if _, ok := ctx.(IRelationContext); ok { |
| 1046 | if j == i { |
| 1047 | t = ctx.(antlr.RuleContext) |
| 1048 | break |
| 1049 | } |
| 1050 | j++ |
| 1051 | } |
| 1052 | } |
| 1053 | |
| 1054 | if t == nil { |
| 1055 | return nil |
| 1056 | } |
| 1057 | |
| 1058 | return t.(IRelationContext) |
| 1059 | } |
| 1060 | |
| 1061 | func (s *ConditionalAndContext) AllLOGICAL_AND() []antlr.TerminalNode { |
| 1062 | return s.GetTokens(CELParserLOGICAL_AND) |
nothing calls this directly
no outgoing calls
no test coverage detected