Lines Matching refs:with
4 The most common way to work with the AST is by using a node traverser and one or more node visitors.
39 Each node visitor implements an interface with following four methods:
141 with `!!($a && $b)`. This will continue until PHP hits the memory limit.
160 generally want to remove it together with a surrounding expression statement:
178 Another way to remove nodes is to replace them with `null`. For example, all `else` statements could
192 Next to removing nodes, it is also possible to replace one node with multiple nodes. This
234 after finding it. For example, if you are looking for the node of a class with a certain name (and
256 A single traverser can be used with multiple visitors:
265 It is important to understand that if a traverser is run with multiple visitors, the visitors will
290 visitors, with the `leaveNode()` calls happening in the reverse order of the `enterNode()` calls.
304 When using multiple visitors, it is important to understand how they interact with the various