Closed emodric closed 7 years ago
Okay, so it turns out there is a base class \Twig_BaseNodeVisitor in Twig that assists in BC between 1.x and 2.x node visitors (https://github.com/twigphp/Twig/pull/1753), so this basically undoes most of #439 to use the base class instead.
\Twig_BaseNodeVisitor
Ping @gnat42
Description
Okay, so it turns out there is a base class
\Twig_BaseNodeVisitor
in Twig that assists in BC between 1.x and 2.x node visitors (https://github.com/twigphp/Twig/pull/1753), so this basically undoes most of #439 to use the base class instead.