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

Method Expr

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

Source from the content-addressed store, hash-verified

3141}
3142
3143func (s *NestedContext) Expr() IExprContext {
3144 var t antlr.RuleContext
3145 for _, ctx := range s.GetChildren() {
3146 if _, ok := ctx.(IExprContext); ok {
3147 t = ctx.(antlr.RuleContext)
3148 break
3149 }
3150 }
3151
3152 if t == nil {
3153 return nil
3154 }
3155
3156 return t.(IExprContext)
3157}
3158
3159func (s *NestedContext) EnterRule(listener antlr.ParseTreeListener) {
3160 if listenerT, ok := listener.(CELListener); ok {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected