Home
last modified time | relevance | path

Searched refs:enterNode (Results 1 – 18 of 18) sorted by relevance

/PHP-Parser/lib/PhpParser/NodeVisitor/
H A DCloningVisitor.php14 public function enterNode(Node $origNode) { function in PhpParser\\NodeVisitor\\CloningVisitor
H A DFindingVisitor.php39 public function enterNode(Node $node) { function in PhpParser\\NodeVisitor\\FindingVisitor
H A DParentConnectingVisitor.php27 public function enterNode(Node $node) { function in PhpParser\\NodeVisitor\\ParentConnectingVisitor
H A DFirstFindingVisitor.php40 public function enterNode(Node $node) { function in PhpParser\\NodeVisitor\\FirstFindingVisitor
H A DNodeConnectingVisitor.php33 public function enterNode(Node $node) { function in PhpParser\\NodeVisitor\\NodeConnectingVisitor
H A DCommentAnnotatingVisitor.php35 public function enterNode(Node $node) { function in PhpParser\\NodeVisitor\\CommentAnnotatingVisitor
H A DNameResolver.php55 public function enterNode(Node $node) { function in PhpParser\\NodeVisitor\\NameResolver
/PHP-Parser/lib/PhpParser/
H A DNodeVisitorAbstract.php13 public function enterNode(Node $node) { function in PhpParser\\NodeVisitorAbstract
H A DNodeVisitor.php87 public function enterNode(Node $node); function
H A DNodeTraverser.php107 $return = $visitor->enterNode($subNode);
184 $return = $visitor->enterNode($node);
/PHP-Parser/doc/component/
H A DWalking_the_AST.markdown44 public function enterNode(Node $node);
81 enterNode(Expr_FuncCall)
82 enterNode(Name)
84 enterNode(Arg)
85 enterNode(Scalar_String)
131 public function enterNode(Node $node) {
222 public function enterNode(Node $node) {
279 $visitorA->enterNode(Stmt_Return)
280 $visitorB->enterNode(Stmt_Return)
281 $visitorA->enterNode(Expr_Variable)
[all …]
/PHP-Parser/test/PhpParser/
H A DNodeVisitorForTesting.php19 public function enterNode(Node $node) { function in PhpParser\\NodeVisitorForTesting
H A DCodeParsingTest.php71 public function enterNode(Node $node): void { function in PhpParser\\CodeParsingTest::checkAttributes::AnonymousClasse7540ba80100
/PHP-Parser/
H A Dphpstan-baseline.neon154 …message: "#^Method PhpParser\\\\NodeVisitor\\\\NodeConnectingVisitor\\:\\:enterNode\\(\\) should r…
169 …message: "#^Method PhpParser\\\\NodeVisitor\\\\ParentConnectingVisitor\\:\\:enterNode\\(\\) should…
H A DUPGRADE-5.0.md435 …nd `afterTraverse()` methods in the reverse order of the corresponding `enterNode()` and `beforeTr…
439 $visitor1->enterNode($node);
440 $visitor2->enterNode($node);
445 $visitor1->enterNode($node);
446 $visitor2->enterNode($node);
H A DREADME.md125 public function enterNode(Node $node) {
H A DCHANGELOG.md175 * The `leaveNode()` method on visitors is now invoked in reverse order of `enterNode()`.
256 * Added support for returning an array or `REMOVE_NODE` from `NodeVisitor::enterNode()`.
/PHP-Parser/doc/
H A D2_Usage_of_basic_components.markdown334 public function enterNode(\PhpParser\Node $node);
346 The `enterNode()` and `leaveNode()` methods are called on every node, the former when it is entered,
352 The `enterNode()` method can additionally return the value `NodeVisitor::DONT_TRAVERSE_CHILDREN`,

Completed in 19 milliseconds