Searched refs:prettyPrintExpr (Results 1 – 6 of 6) sorted by relevance
24 public function prettyPrintExpr(Expr $node): string; function
279 public function prettyPrintExpr(Expr $node): string { function in PhpParser\\PrettyPrinterAbstract
65 $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);
24 `prettyPrintExpr()`. The one that is most commonly useful is `prettyPrintFile()`, which takes an28 open `<?php` context. Lastly, `prettyPrintExpr()` takes an `Expr` node and prints only a single
153 `prettyPrintExpr()` methods.
261 single expression using `prettyPrintExpr()`.
Completed in 21 milliseconds