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
ExtendsPhpParser\NodeVisitorAbstract
ImplementsPhpParser\NodeVisitor
Methods
public PhpParser\NodeVisitorAbstract::afterTraverse(array $nodes)
public beforeTraverse(array $nodes)
public enterNode(PhpParser\Node $node)
public leaveNode(PhpParser\Node $node)
Properties
private $stack
 
  • var Node[]
© 2020 Bruce Wells
Search Namespaces \ Classes
ConfigurationNumbers (0-9.) only