(i int)
| 4997 | } |
| 4998 | |
| 4999 | func (s *ConditionalAndContext) Relation(i int) IRelationContext { |
| 5000 | var t antlr.RuleContext |
| 5001 | j := 0 |
| 5002 | for _, ctx := range s.GetChildren() { |
| 5003 | if _, ok := ctx.(IRelationContext); ok { |
| 5004 | if j == i { |
| 5005 | t = ctx.(antlr.RuleContext) |
| 5006 | break |
| 5007 | } |
| 5008 | j++ |
| 5009 | } |
| 5010 | } |
| 5011 | |
| 5012 | if t == nil { |
| 5013 | return nil |
| 5014 | } |
| 5015 | |
| 5016 | return t.(IRelationContext) |
| 5017 | } |
| 5018 | |
| 5019 | func (s *ConditionalAndContext) AllLOGICAL_AND() []antlr.TerminalNode { |
| 5020 | return s.GetTokens(CommandsParserLOGICAL_AND) |
nothing calls this directly
no outgoing calls
no test coverage detected