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

Method Accept

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

Source from the content-addressed store, hash-verified

5929}
5930
5931func (s *IntContext) Accept(visitor antlr.ParseTreeVisitor) interface{} {
5932 switch t := visitor.(type) {
5933 case CELVisitor:
5934 return t.VisitInt(s)
5935
5936 default:
5937 return t.VisitChildren(s)
5938 }
5939}
5940
5941func (p *CELParser) Literal() (localctx ILiteralContext) {
5942 localctx = NewLiteralContext(p, p.GetParserRuleContext(), p.GetState())

Callers

nothing calls this directly

Calls 1

VisitIntMethod · 0.65

Tested by

no test coverage detected