Home
last modified time | relevance | path

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

/PHP-Parser/test/PhpParser/
H A DPrettyPrinterTest.php24 $prettyPrinter = new Standard([
28 return [$parser, $prettyPrinter];
60 $prettyPrinter = new Standard();
74 $prettyPrinter = new PrettyPrinter\Standard();
174 $prettyPrinter = new PrettyPrinter\Standard();
175 $prettyPrinter->prettyPrint($stmts);
184 $prettyPrinter = new PrettyPrinter\Standard();
185 $prettyPrinter->prettyPrint($stmts);
256 $prettyPrinter = new Standard([
268 $code = $prettyPrinter->prettyPrint($stmts);
[all …]
H A DBuilderFactoryTest.php376 $prettyPrinter = new PrettyPrinter\Standard();
377 $generated = $prettyPrinter->prettyPrintFile($stmts);
/PHP-Parser/tools/fuzzing/
H A Dtarget.php26 $prettyPrinter = new PhpParser\PrettyPrinter\Standard(); variable
103 $fuzzer->setTarget(function(string $input) use($lexer, $parser, $prettyPrinter, $nodeDumper, $visit…
105 $printed = $prettyPrinter->prettyPrintFile($stmts);
/PHP-Parser/test_old/
H A Drun.php143 $prettyPrinter = new PhpParser\PrettyPrinter\Standard; variable
191 $code = $prettyPrinter->printFormatPreserving($stmts, $origStmts, $origTokens);
204 $code = "<?php\n" . $prettyPrinter->prettyPrint($stmts);
/PHP-Parser/bin/
H A Dphp-parse34 $prettyPrinter = new PhpParser\PrettyPrinter\Standard; variable
82 echo $prettyPrinter->prettyPrintFile($stmts), "\n";
/PHP-Parser/test/PhpParser/NodeVisitor/
H A DNameResolverTest.php167 $prettyPrinter = new PhpParser\PrettyPrinter\Standard();
172 $prettyPrinter->prettyPrint($stmts)
346 $prettyPrinter = new PhpParser\PrettyPrinter\Standard();
351 $prettyPrinter->prettyPrint($stmts)
/PHP-Parser/
H A DUPGRADE-1.0.md19 $prettyPrinter = new \PHPParser_PrettyPrinter_Default;
26 $prettyPrinter = new \PhpParser\PrettyPrinter\Standard;
H A DCONTRIBUTING.md27 5. Add tests both in `test/code/parser` and `test/code/prettyPrinter`.
H A DREADME.md173 $prettyPrinter = new PrettyPrinter\Standard;
174 echo $prettyPrinter->prettyPrintFile($ast);
/PHP-Parser/doc/component/
H A DAST_builders.markdown76 $prettyPrinter = new PrettyPrinter\Standard();
77 echo $prettyPrinter->prettyPrintFile($stmts);
H A DPretty_printing.markdown19 $prettyPrinter = new PhpParser\PrettyPrinter\Standard;
20 $newCode = $prettyPrinter->prettyPrintFile($stmts);
/PHP-Parser/doc/
H A D2_Usage_of_basic_components.markdown231 $prettyPrinter = new PrettyPrinter\Standard();
245 $code = $prettyPrinter->prettyPrint($stmts);
289 $prettyPrinter = new PrettyPrinter\Standard;
304 $code = $prettyPrinter->prettyPrintFile($stmts);
416 $prettyPrinter = new PrettyPrinter\Standard;
437 $code = $prettyPrinter->prettyPrintFile($stmts);

Completed in 18 milliseconds