Home
last modified time | relevance | path

Searched refs:stack (Results 1 – 2 of 2) sorted by relevance

/PHP-Parser/lib/PhpParser/NodeVisitor/
H A DParentConnectingVisitor.php23 private array $stack = []; variable in PhpParser\\NodeVisitor\\ParentConnectingVisitor
32 $this->stack = [];
36 if (!empty($this->stack)) {
37 $parent = $this->stack[count($this->stack) - 1];
45 $this->stack[] = $node;
49 array_pop($this->stack);
H A DNodeConnectingVisitor.php23 private array $stack = []; variable in PhpParser\\NodeVisitor\\NodeConnectingVisitor
37 $this->stack = [];
42 if (!empty($this->stack)) {
43 $parent = $this->stack[count($this->stack) - 1];
65 $this->stack[] = $node;
71 array_pop($this->stack);

Completed in 3 milliseconds