Home
last modified time | relevance | path

Searched refs:REMOVE_NODE (Results 1 – 9 of 9) sorted by relevance

/PHP-Parser/lib/PhpParser/
H A DNodeVisitor.php30 public const REMOVE_NODE = 3; define
H A DNodeTraverser.php19 public const REMOVE_NODE = NodeVisitor::REMOVE_NODE; define in PhpParser\\NodeTraverser
192 } elseif (NodeVisitor::REMOVE_NODE === $return) {
232 } elseif (NodeVisitor::REMOVE_NODE === $return) {
/PHP-Parser/tools/fuzzing/
H A Dtarget.php53 return NodeVisitor::REMOVE_NODE;
/PHP-Parser/test/PhpParser/
H A DNodeTraverserTest.php83 ['leaveNode', $str1Node, NodeVisitor::REMOVE_NODE],
107 ['enterNode', $str1Node, NodeVisitor::REMOVE_NODE],
327 ['leaveNode', $mulNode, NodeVisitor::REMOVE_NODE],
/PHP-Parser/
H A DUPGRADE-4.0.md68 `NodeTraverser::REMOVE_NODE` should be returned instead.
H A DUPGRADE-5.0.md454 PhpParser\NodeTraverser::REMOVE_NODE -> PhpParser\NodeVisitor::REMOVE_NODE
H A DCHANGELOG.md176 * Moved `NodeTraverser::REMOVE_NODE` etc. to `NodeVisitor::REMOVE_NODE`. The old constants are still
256 * Added support for returning an array or `REMOVE_NODE` from `NodeVisitor::enterNode()`.
816 `NodeTraverser::REMOVE_NODE` should be returned instead.
/PHP-Parser/doc/component/
H A DWalking_the_AST.markdown149 return NodeVisitor::REMOVE_NODE;
169 return NodeVisitor::REMOVE_NODE;
314 * If a visitor returns `REMOVE_NODE`, subsequent visitors will not see this node.
/PHP-Parser/doc/
H A D2_Usage_of_basic_components.markdown359 * `NodeVisitor::REMOVE_NODE`, in which case the current node will be removed from the parent array.
525 return NodeVisitor::REMOVE_NODE;

Completed in 13 milliseconds