Home
last modified time | relevance | path

Searched refs:dump (Results 1 – 12 of 12) sorted by relevance

/PHP-Parser/test/PhpParser/
H A DNodeDumperTest.php13 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 DCodeParsingTest.php47 $output .= $dumper->dump($stmts, $code);
/PHP-Parser/tools/fuzzing/
H A Dtarget.php121 $same = $nodeDumper->dump($stmts) == $nodeDumper->dump($printedStmts);
/PHP-Parser/test/PhpParser/Builder/
H A DInterfaceTest.php21 private function dump($node) { function in PhpParser\\Builder\\InterfaceTest
117 eval($this->dump($contract));
/PHP-Parser/test_old/
H A Drun.php213 $same = $nodeDumper->dump($stmts) == $nodeDumper->dump($ppStmts);
/PHP-Parser/
H A DREADME.md37 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 Dphpstan-baseline.neon119 …message: "#^Method PhpParser\\\\NodeDumper\\:\\:dump\\(\\) has parameter \\$node with no value typ…
H A DCHANGELOG.md594 the operation (such as a JSON dump). (#605)
/PHP-Parser/bin/
H A Dphp-parse79 echo $dumper->dump($stmts, $code), "\n";
/PHP-Parser/doc/component/
H A DJSON_representation.markdown139 From the command line, a JSON dump can be obtained using `vendor/bin/php-parse -j file.php`.
/PHP-Parser/lib/PhpParser/
H A DNodeDumper.php60 public function dump($node, ?string $code = null): string { function in PhpParser\\NodeDumper
/PHP-Parser/doc/
H A D2_Usage_of_basic_components.markdown84 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 22 milliseconds