Base class for walking the AST
| 9 | |
| 10 | /// Base class for walking the AST |
| 11 | struct prod_visitor { |
| 12 | virtual void visit(struct prod *p) = 0; |
| 13 | virtual ~prod_visitor() { } |
| 14 | }; |
| 15 | |
| 16 | /// Base class for AST nodes |
| 17 | struct prod { |
nothing calls this directly
no outgoing calls
no test coverage detected