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

Method ConditionalOr

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

Source from the content-addressed store, hash-verified

524}
525
526func (s *ExprContext) ConditionalOr(i int) IConditionalOrContext {
527 var t antlr.RuleContext
528 j := 0
529 for _, ctx := range s.GetChildren() {
530 if _, ok := ctx.(IConditionalOrContext); ok {
531 if j == i {
532 t = ctx.(antlr.RuleContext)
533 break
534 }
535 j++
536 }
537 }
538
539 if t == nil {
540 return nil
541 }
542
543 return t.(IConditionalOrContext)
544}
545
546func (s *ExprContext) COLON() antlr.TerminalNode {
547 return s.GetToken(CELParserCOLON, 0)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected