MCPcopy Create free account
hub / github.com/cel-expr/cel-go / ConditionalAnd

Method ConditionalAnd

parser/gen/cel_parser.go:795–813  ·  view source on GitHub ↗
(i int)

Source from the content-addressed store, hash-verified

793}
794
795func (s *ConditionalOrContext) ConditionalAnd(i int) IConditionalAndContext {
796 var t antlr.RuleContext
797 j := 0
798 for _, ctx := range s.GetChildren() {
799 if _, ok := ctx.(IConditionalAndContext); ok {
800 if j == i {
801 t = ctx.(antlr.RuleContext)
802 break
803 }
804 j++
805 }
806 }
807
808 if t == nil {
809 return nil
810 }
811
812 return t.(IConditionalAndContext)
813}
814
815func (s *ConditionalOrContext) AllLOGICAL_OR() []antlr.TerminalNode {
816 return s.GetTokens(CELParserLOGICAL_OR)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected