Class PhpParser\NodeVisitor\CloningVisitor

extends NodeVisitorAbstract

Visitor cloning all nodes and linking to the original nodes using an attribute.

This visitor is required to perform format-preserving pretty prints.

Methods
Methods inherited from PhpParser\NodeVisitorAbstract
beforeTraverse(), leaveNode(), afterTraverse()