Home
last modified time | relevance | path

Searched refs:prettyPrintExpr (Results 1 – 6 of 6) sorted by relevance

/PHP-Parser/lib/PhpParser/
H A DPrettyPrinter.php24 public function prettyPrintExpr(Expr $node): string; function
H A DPrettyPrinterAbstract.php279 public function prettyPrintExpr(Expr $node): string { function in PhpParser\\PrettyPrinterAbstract
/PHP-Parser/test/PhpParser/
H A DPrettyPrinterTest.php65 $this->assertEquals('($a + $b) * $c', $prettyPrinter->prettyPrintExpr($expr));
70 …$this->assertEquals("function () {\n return 'a\nb';\n}", $prettyPrinter->prettyPrintExpr($expr)…
87 $this->assertSame($expected, $prettyPrinter->prettyPrintExpr($expr));
95 $result = $prttyPrinter->prettyPrintExpr($node);
151 $result = $prttyPrinter->prettyPrintExpr($node);
/PHP-Parser/doc/component/
H A DPretty_printing.markdown24 `prettyPrintExpr()`. The one that is most commonly useful is `prettyPrintFile()`, which takes an
28 open `<?php` context. Lastly, `prettyPrintExpr()` takes an `Expr` node and prints only a single
/PHP-Parser/
H A DUPGRADE-3.0.md153 `prettyPrintExpr()` methods.
/PHP-Parser/doc/
H A D2_Usage_of_basic_components.markdown261 single expression using `prettyPrintExpr()`.

Completed in 19 milliseconds