File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
tool/resources/org/antlr/v4/tool/templates/codegen/PHP Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -97,7 +97,7 @@ use Antlr\\Antlr4\\Runtime\\Tree\\TerminalNode;
9797 * which can be extended to create a listener which only needs to handle a subset
9898 * of the available methods.
9999 */
100- class <file.grammarName>BaseListener implements <file.grammarName>Listener
100+ abstract class <file.grammarName>BaseListener implements <file.grammarName>Listener
101101{
102102 <file.listenerNames:{lname |
103103/**
@@ -188,7 +188,7 @@ use Antlr\\Antlr4\\Runtime\\Tree\\AbstractParseTreeVisitor;
188188 * which can be extended to create a visitor which only needs to handle a subset
189189 * of the available methods.
190190 */
191- class <file.grammarName>BaseVisitor extends AbstractParseTreeVisitor implements <file.grammarName>Visitor
191+ abstract class <file.grammarName>BaseVisitor extends AbstractParseTreeVisitor implements <file.grammarName>Visitor
192192{
193193 <file.visitorNames:{lname |
194194/**
You can’t perform that action at this time.
0 commit comments