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

Method Expr

parser/gen/cel_parser.go:554–568  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

552}
553
554func (s *ExprContext) Expr() IExprContext {
555 var t antlr.RuleContext
556 for _, ctx := range s.GetChildren() {
557 if _, ok := ctx.(IExprContext); ok {
558 t = ctx.(antlr.RuleContext)
559 break
560 }
561 }
562
563 if t == nil {
564 return nil
565 }
566
567 return t.(IExprContext)
568}
569
570func (s *ExprContext) GetRuleContext() antlr.RuleContext {
571 return s

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected