Searched refs:previous (Results 1 – 8 of 8) sorted by relevance
26 private $previous; variable in PhpParser\\NodeVisitor\\NodeConnectingVisitor30 $this->previous = null;38 …if ($this->previous !== null && $this->previous->getAttribute('parent') === $node->getAttribute('p…39 $node->setAttribute('previous', $this->previous);40 $this->previous->setAttribute('next', $node);47 $this->previous = $node;
5 …* [How can the next/previous sibling of a node be obtained?](#how-can-the-nextprevious-sibling-of-…28 How can the next/previous sibling of a node be obtained?32 the previous / next node with a common parent as well:49 the previous node can be obtained through `$node->getAttribute('previous')`, and the next node can …
16 previous versions. The `PhpParser\Token` class either extends `PhpToken` (on PHP 8.0) or a polyfill…22 …`T_NAME_RELATIVE` tokens, rather than the previous representation using a sequence of `T_STRING` a…
128 recursion. For example, let's take the previous code sample and use enterNode instead:
156 It is possible to convert the name to the previous representation using `$name->getParts()`. The322 To follow the previous behavior, an `Identifier` should be passed, which indicates a built-in type.326 …ng style conventions (and in particular PSR-12). Options to restore the previous behavior are not …
85 It is possible to restore the precise previous behavior with the following code:
516 * As a result of the previous change, some whitespace issues when inserting a statement into a893 * Fixed the spelling of `Class_::VISIBILITY_MODIFIER_MASK`. The previous spelling of1138 * The pretty printer takes all the new attributes mentioned in the previous section into account.
94 For the sample code from the previous section, this will produce the following output:
Completed in 12 milliseconds