forked from jasder/antlr
Call visitChildren by default
This commit is contained in:
parent
36c3b2341c
commit
73e2a31d36
|
@ -699,7 +699,7 @@ VisitorDispatchMethod(method) ::= <<
|
|||
@Override
|
||||
public \<T> T accept(ParseTreeVisitor\<? extends T> visitor) {
|
||||
if ( visitor instanceof <parser.grammarName>Visitor ) return ((<parser.grammarName>Visitor\<? extends T>)visitor).visit<struct.derivedFromName; format="cap">(this);
|
||||
else return null;
|
||||
else return visitor.visitChildren(this);
|
||||
}
|
||||
>>
|
||||
|
||||
|
|
Loading…
Reference in New Issue