Visitor that connects a child node to its parent node.
On the child node, the parent node can be accessed through $node->getAttribute('parent').
CloneableFinalInstantiable
Constants |
Methods |
public beforeTraverse(array $nodes) |
public enterNode(PhpParser |
public leaveNode(PhpParser |
Properties |
private array $stack = []
|