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

Method Expr

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

Source from the content-addressed store, hash-verified

2491}
2492
2493func (s *IndexContext) Expr() IExprContext {
2494 var t antlr.RuleContext
2495 for _, ctx := range s.GetChildren() {
2496 if _, ok := ctx.(IExprContext); ok {
2497 t = ctx.(antlr.RuleContext)
2498 break
2499 }
2500 }
2501
2502 if t == nil {
2503 return nil
2504 }
2505
2506 return t.(IExprContext)
2507}
2508
2509func (s *IndexContext) QUESTIONMARK() antlr.TerminalNode {
2510 return s.GetToken(CELParserQUESTIONMARK, 0)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected