File tree 1 file changed +2
-2
lines changed
tool/resources/org/antlr/v4/tool/templates/codegen/PHP
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;
97
97
* which can be extended to create a listener which only needs to handle a subset
98
98
* of the available methods.
99
99
*/
100
- class <file.grammarName>BaseListener implements <file.grammarName>Listener
100
+ abstract class <file.grammarName>BaseListener implements <file.grammarName>Listener
101
101
{
102
102
<file.listenerNames:{lname |
103
103
/**
@@ -188,7 +188,7 @@ use Antlr\\Antlr4\\Runtime\\Tree\\AbstractParseTreeVisitor;
188
188
* which can be extended to create a visitor which only needs to handle a subset
189
189
* of the available methods.
190
190
*/
191
- class <file.grammarName>BaseVisitor extends AbstractParseTreeVisitor implements <file.grammarName>Visitor
191
+ abstract class <file.grammarName>BaseVisitor extends AbstractParseTreeVisitor implements <file.grammarName>Visitor
192
192
{
193
193
<file.visitorNames:{lname |
194
194
/**
You can’t perform that action at this time.
0 commit comments