Home
last modified time | relevance | path

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

/PHP-Parser/lib/PhpParser/
H A DNodeTraverser.php14 public const STOP_TRAVERSAL = NodeVisitor::STOP_TRAVERSAL; define in PhpParser\\NodeTraverser
117 } elseif (NodeVisitor::STOP_TRAVERSAL === $return) {
146 } elseif (NodeVisitor::STOP_TRAVERSAL === $return) {
200 } elseif (NodeVisitor::STOP_TRAVERSAL === $return) {
235 } elseif (NodeVisitor::STOP_TRAVERSAL === $return) {
H A DNodeVisitor.php21 public const STOP_TRAVERSAL = 2; define
/PHP-Parser/lib/PhpParser/NodeVisitor/
H A DFirstFindingVisitor.php44 return NodeVisitor::STOP_TRAVERSAL;
H A DCommentAnnotatingVisitor.php39 return self::STOP_TRAVERSAL;
/PHP-Parser/test/PhpParser/
H A DNodeTraverserTest.php267 ['enterNode', $mulNode, NodeVisitor::STOP_TRAVERSAL],
280 ['enterNode', $varNode1, NodeVisitor::STOP_TRAVERSAL],
294 ['leaveNode', $varNode1, NodeVisitor::STOP_TRAVERSAL],
309 ['leaveNode', $mulNode, NodeVisitor::STOP_TRAVERSAL],
328 ['enterNode', $printNode, NodeVisitor::STOP_TRAVERSAL],
/PHP-Parser/doc/component/
H A DWalking_the_AST.markdown245 return NodeVisitor::STOP_TRAVERSAL;
311 * If *any* visitor returns `STOP_TRAVERSAL`, traversal is stopped for *all* visitors.
/PHP-Parser/
H A DUPGRADE-5.0.md457 PhpParser\NodeTraverser::STOP_TRAVERSAL -> PhpParser\NodeVisitor::STOP_TRAVERSAL
/PHP-Parser/doc/
H A D2_Usage_of_basic_components.markdown358 * `NodeVisitor::STOP_TRAVERSAL`, in which case no further nodes will be visited.

Completed in 20 milliseconds