Home
last modified time | relevance | path

Searched refs:prettyPrint (Results 1 – 9 of 9) sorted by relevance

/PHP-Parser/lib/PhpParser/
H A DPrettyPrinter.php15 public function prettyPrint(array $stmts): string; function
H A DPrettyPrinterAbstract.php265 public function prettyPrint(array $stmts): string { function in PhpParser\\PrettyPrinterAbstract
296 $p = "<?php" . $this->newline . $this->newline . $this->prettyPrint($stmts);
/PHP-Parser/test/PhpParser/
H A DPrettyPrinterTest.php175 $prettyPrinter->prettyPrint($stmts);
185 $prettyPrinter->prettyPrint($stmts);
268 $code = $prettyPrinter->prettyPrint($stmts);
291 $code = $prettyPrinter->prettyPrint($stmts);
/PHP-Parser/test/PhpParser/Builder/
H A DInterfaceTest.php23 return $pp->prettyPrint([$node]);
/PHP-Parser/test/PhpParser/NodeVisitor/
H A DNameResolverTest.php172 $prettyPrinter->prettyPrint($stmts)
351 $prettyPrinter->prettyPrint($stmts)
/PHP-Parser/test_old/
H A Drun.php204 $code = "<?php\n" . $prettyPrinter->prettyPrint($stmts);
/PHP-Parser/doc/component/
H A DPretty_printing.markdown23 The pretty printer has three basic printing methods: `prettyPrint()`, `prettyPrintFile()` and
27 `prettyPrint()` also takes a statement array, but produces code which is valid inside an already
/PHP-Parser/doc/
H A D2_Usage_of_basic_components.markdown245 $code = $prettyPrinter->prettyPrint($stmts);
258 again converted to code using `PhpParser\PrettyPrinter\Standard->prettyPrint()`.
260 The `prettyPrint()` method pretty prints a statements array. It is also possible to pretty print on…
/PHP-Parser/
H A DUPGRADE-3.0.md152 The pretty printer should only be invoked using the `prettyPrint()`, `prettyPrintFile()` and

Completed in 17 milliseconds