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

Method Expr

repl/parser/commands_parser.go:7101–7115  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

7099}
7100
7101func (s *NestedContext) Expr() IExprContext {
7102 var t antlr.RuleContext
7103 for _, ctx := range s.GetChildren() {
7104 if _, ok := ctx.(IExprContext); ok {
7105 t = ctx.(antlr.RuleContext)
7106 break
7107 }
7108 }
7109
7110 if t == nil {
7111 return nil
7112 }
7113
7114 return t.(IExprContext)
7115}
7116
7117func (s *NestedContext) EnterRule(listener antlr.ParseTreeListener) {
7118 if listenerT, ok := listener.(CommandsListener); ok {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected