Lines Matching refs:traverse
22 $this->assertEquals($stmts, $traverser->traverse($stmts));
55 $this->assertEquals([], $traverser->traverse([]));
92 $this->assertEquals([$str2Node], $traverser->traverse($stmts));
116 $this->assertEquals([$str2Node], $traverser->traverse($stmts));
141 $this->assertEquals([$str3Node, $str4Node, $str2Node], $traverser->traverse($stmts));
166 $traverser->traverse([$strStart, $strMiddle, $strEnd])
177 $this->assertEquals($stmts, $traverser->traverse($stmts));
210 $this->assertEquals($stmts, $traverser->traverse($stmts));
236 $resultStmts = $traverser->traverse($stmts);
271 $this->assertEquals($stmts, $traverser->traverse($stmts));
284 $this->assertEquals($stmts, $traverser->traverse($stmts));
298 $this->assertEquals($stmts, $traverser->traverse($stmts));
313 $this->assertEquals($stmts, $traverser->traverse($stmts));
332 $this->assertEquals([$printNode], $traverser->traverse($stmts));
361 $newStmts = $traverser->traverse($stmts);
412 $this->assertSame($stmts, $traverser->traverse($stmts));
424 $traverser->traverse($stmts);