Home
last modified time | relevance | path

Searched refs:REPLACE_WITH_NULL (Results 1 – 6 of 6) sorted by relevance

/PHP-Parser/lib/PhpParser/
H A DNodeVisitor.php46 public const REPLACE_WITH_NULL = 5; define
H A DNodeTraverser.php120 } elseif (NodeVisitor::REPLACE_WITH_NULL === $return) {
149 } elseif (NodeVisitor::REPLACE_WITH_NULL === $return) {
203 } elseif (NodeVisitor::REPLACE_WITH_NULL === $return) {
238 } elseif (NodeVisitor::REPLACE_WITH_NULL === $return) {
/PHP-Parser/test/PhpParser/
H A DNodeTraverserTest.php354 ['enterNode', $else1, NodeVisitor::REPLACE_WITH_NULL],
355 ['leaveNode', $else2, NodeVisitor::REPLACE_WITH_NULL],
457 ['enterNode', $expr, NodeVisitor::REPLACE_WITH_NULL],
460 ['leaveNode', $expr, NodeVisitor::REPLACE_WITH_NULL],
/PHP-Parser/doc/component/
H A DWalking_the_AST.markdown184 return NodeVisitor::REPLACE_WITH_NULL;
315 * If a visitor returns `REPLACE_WITH_NULL`, subsequent visitors will not see this node.
/PHP-Parser/doc/
H A D2_Usage_of_basic_components.markdown360 * `NodeVisitor::REPLACE_WITH_NULL`, in which case the current node will be replaced with `null`.
/PHP-Parser/
H A DCHANGELOG.md168 * Added support for `NodeVisitor::REPLACE_WITH_NULL`.

Completed in 18 milliseconds