Home
last modified time | relevance | path

Searched refs:previous (Results 1 – 8 of 8) sorted by relevance

/PHP-Parser/lib/PhpParser/NodeVisitor/
H A DNodeConnectingVisitor.php26 private $previous; variable in PhpParser\\NodeVisitor\\NodeConnectingVisitor
30 $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;
/PHP-Parser/doc/component/
H A DFAQ.markdown5 …* [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 …
H A DLexer.markdown16 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…
H A DWalking_the_AST.markdown128 recursion. For example, let's take the previous code sample and use enterNode instead:
/PHP-Parser/
H A DUPGRADE-5.0.md156 It is possible to convert the name to the previous representation using `$name->getParts()`. The
322 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 …
H A DUPGRADE-3.0.md85 It is possible to restore the precise previous behavior with the following code:
H A DCHANGELOG.md516 * As a result of the previous change, some whitespace issues when inserting a statement into a
893 * Fixed the spelling of `Class_::VISIBILITY_MODIFIER_MASK`. The previous spelling of
1138 * The pretty printer takes all the new attributes mentioned in the previous section into account.
/PHP-Parser/doc/
H A D2_Usage_of_basic_components.markdown94 For the sample code from the previous section, this will produce the following output:

Completed in 12 milliseconds