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

Method Accept

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

Source from the content-addressed store, hash-verified

1259}
1260
1261func (s *DeclContext) Accept(visitor antlr.ParseTreeVisitor) interface{} {
1262 switch t := visitor.(type) {
1263 case MangleVisitor:
1264 return t.VisitDecl(s)
1265
1266 default:
1267 return t.VisitChildren(s)
1268 }
1269}
1270
1271func (p *MangleParser) Decl() (localctx IDeclContext) {
1272 localctx = NewDeclContext(p, p.GetParserRuleContext(), p.GetState())

Callers

nothing calls this directly

Calls 1

VisitDeclMethod · 0.65

Tested by

no test coverage detected