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

Method Accept

parser/gen/cel_parser.go:5419–5427  ·  view source on GitHub ↗
(visitor antlr.ParseTreeVisitor)

Source from the content-addressed store, hash-verified

5417}
5418
5419func (s *OptExprContext) Accept(visitor antlr.ParseTreeVisitor) interface{} {
5420 switch t := visitor.(type) {
5421 case CELVisitor:
5422 return t.VisitOptExpr(s)
5423
5424 default:
5425 return t.VisitChildren(s)
5426 }
5427}
5428
5429func (p *CELParser) OptExpr() (localctx IOptExprContext) {
5430 localctx = NewOptExprContext(p, p.GetParserRuleContext(), p.GetState())

Callers

nothing calls this directly

Calls 1

VisitOptExprMethod · 0.65

Tested by

no test coverage detected