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

Method Accept

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

Source from the content-addressed store, hash-verified

588}
589
590func (s *ExprContext) Accept(visitor antlr.ParseTreeVisitor) interface{} {
591 switch t := visitor.(type) {
592 case CELVisitor:
593 return t.VisitExpr(s)
594
595 default:
596 return t.VisitChildren(s)
597 }
598}
599
600func (p *CELParser) Expr() (localctx IExprContext) {
601 localctx = NewExprContext(p, p.GetParserRuleContext(), p.GetState())

Callers

nothing calls this directly

Calls 1

VisitExprMethod · 0.65

Tested by

no test coverage detected