Method
Accept
(visitor antlr.ParseTreeVisitor)
Source from the content-addressed store, hash-verified
| 1259 | } |
| 1260 | |
| 1261 | func (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 | |
| 1271 | func (p *MangleParser) Decl() (localctx IDeclContext) { |
| 1272 | localctx = NewDeclContext(p, p.GetParserRuleContext(), p.GetState()) |
Callers
nothing calls this directly
Tested by
no test coverage detected