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

Method Accept

repl/parser/commands_parser.go:900–908  ·  view source on GitHub ↗
(visitor antlr.ParseTreeVisitor)

Source from the content-addressed store, hash-verified

898}
899
900func (s *HelpContext) Accept(visitor antlr.ParseTreeVisitor) interface{} {
901 switch t := visitor.(type) {
902 case CommandsVisitor:
903 return t.VisitHelp(s)
904
905 default:
906 return t.VisitChildren(s)
907 }
908}
909
910func (p *CommandsParser) Help() (localctx IHelpContext) {
911 localctx = NewHelpContext(p, p.GetParserRuleContext(), p.GetState())

Callers

nothing calls this directly

Calls 1

VisitHelpMethod · 0.65

Tested by

no test coverage detected