Searched refs:prettyPrintFile (Results 1 – 12 of 12) sorted by relevance
33 public function prettyPrintFile(array $stmts): string; function
291 public function prettyPrintFile(array $stmts): string { function in PhpParser\\PrettyPrinterAbstract
78 $this->assertSame($expected, $prettyPrinter->prettyPrintFile($stmts));270 $code = $prettyPrinter->prettyPrintFile($stmts);274 $code = $prettyPrinter->prettyPrintFile($stmts);
377 $generated = $prettyPrinter->prettyPrintFile($stmts);
20 $newCode = $prettyPrinter->prettyPrintFile($stmts);23 The pretty printer has three basic printing methods: `prettyPrint()`, `prettyPrintFile()` and24 `prettyPrintExpr()`. The one that is most commonly useful is `prettyPrintFile()`, which takes an
77 echo $prettyPrinter->prettyPrintFile($stmts);
82 echo $prettyPrinter->prettyPrintFile($stmts), "\n";
105 $printed = $prettyPrinter->prettyPrintFile($stmts);
174 echo $prettyPrinter->prettyPrintFile($ast);
152 The pretty printer should only be invoked using the `prettyPrint()`, `prettyPrintFile()` and
1164 * The `prettyPrintFile()` method will not strip a trailing `?>` from the raw data that follows a1166 * The `prettyPrintFile()` method will not strip an opening `<?php` if the file starts with a
263 The `prettyPrintFile()` method can be used to print an entire file. This will include the opening `…304 $code = $prettyPrinter->prettyPrintFile($stmts);437 $code = $prettyPrinter->prettyPrintFile($stmts);
Completed in 23 milliseconds