Searched refs:dump (Results 1 – 12 of 12) sorted by relevance
/PHP-Parser/test/PhpParser/ |
H A D | NodeDumperTest.php | 13 public function testDump($node, $dump): void { argument 16 $this->assertSame($this->canonicalize($dump), $this->canonicalize($dumper->dump($node))); 88 $dump = $dumper->dump($stmts, $code); 90 $this->assertSame($this->canonicalize($expected), $this->canonicalize($dump)); 97 $dumper->dump(new \stdClass());
|
H A D | CodeParsingTest.php | 47 $output .= $dumper->dump($stmts, $code);
|
/PHP-Parser/tools/fuzzing/ |
H A D | target.php | 121 $same = $nodeDumper->dump($stmts) == $nodeDumper->dump($printedStmts);
|
/PHP-Parser/test/PhpParser/Builder/ |
H A D | InterfaceTest.php | 21 private function dump($node) { function in PhpParser\\Builder\\InterfaceTest 117 eval($this->dump($contract));
|
/PHP-Parser/test_old/ |
H A D | run.php | 213 $same = $nodeDumper->dump($stmts) == $nodeDumper->dump($ppStmts);
|
/PHP-Parser/ |
H A D | README.md | 37 Parse some PHP code into an AST and dump the result in human-readable form: 63 echo $dumper->dump($ast) . "\n"; 134 echo $dumper->dump($ast) . "\n";
|
H A D | phpstan-baseline.neon | 119 …message: "#^Method PhpParser\\\\NodeDumper\\:\\:dump\\(\\) has parameter \\$node with no value typ…
|
H A D | CHANGELOG.md | 601 the operation (such as a JSON dump). (#605)
|
/PHP-Parser/bin/ |
H A D | php-parse | 79 echo $dumper->dump($stmts, $code), "\n";
|
/PHP-Parser/doc/component/ |
H A D | JSON_representation.markdown | 139 From the command line, a JSON dump can be obtained using `vendor/bin/php-parse -j file.php`.
|
/PHP-Parser/lib/PhpParser/ |
H A D | NodeDumper.php | 60 public function dump($node, ?string $code = null): string { function in PhpParser\\NodeDumper
|
/PHP-Parser/doc/ |
H A D | 2_Usage_of_basic_components.markdown | 84 To dump the abstract syntax tree in human-readable form, a `NodeDumper` can be used: 91 echo $nodeDumper->dump($stmts), "\n"; 154 You can also use the `php-parse` script to obtain such a node dump by calling it either with a file 167 Looking at the node dump above, you can see that `$stmts` for this example code is an array of two
|
Completed in 14 milliseconds