MCPcopy
hub / github.com/google/mangle / Accept

Method Accept

parse/gen/mangle_parser.go:664–672  ·  view source on GitHub ↗
(visitor antlr.ParseTreeVisitor)

Source from the content-addressed store, hash-verified

662}
663
664func (s *ProgramContext) Accept(visitor antlr.ParseTreeVisitor) interface{} {
665 switch t := visitor.(type) {
666 case MangleVisitor:
667 return t.VisitProgram(s)
668
669 default:
670 return t.VisitChildren(s)
671 }
672}
673
674func (p *MangleParser) Program() (localctx IProgramContext) {
675 localctx = NewProgramContext(p, p.GetParserRuleContext(), p.GetState())

Callers

nothing calls this directly

Calls 1

VisitProgramMethod · 0.65

Tested by

no test coverage detected