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

Method Expr

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

Source from the content-addressed store, hash-verified

330}
331
332func (s *StartContext) Expr() IExprContext {
333 var t antlr.RuleContext
334 for _, ctx := range s.GetChildren() {
335 if _, ok := ctx.(IExprContext); ok {
336 t = ctx.(antlr.RuleContext)
337 break
338 }
339 }
340
341 if t == nil {
342 return nil
343 }
344
345 return t.(IExprContext)
346}
347
348func (s *StartContext) GetRuleContext() antlr.RuleContext {
349 return s

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected