Home
last modified time | relevance | path

Searched refs:pStmts (Results 1 – 3 of 3) sorted by relevance

/PHP-Parser/
H A DUPGRADE-1.0.md100 …* The `PrettyPrinterAbstract::pStmts()` method now emits a leading newline if the statement list i…
101 Custom pretty printers should remove the explicit newline before `pStmts()` calls.
108 . "\n" . '{' . "\n" . $this->pStmts($node->stmts) . "\n" . '}';
117 . "\n" . '{' . $this->pStmts($node->stmts) . "\n" . '}';
/PHP-Parser/lib/PhpParser/PrettyPrinter/
H A DStandard.php657 . ' {' . $this->pStmts($node->stmts) . $this->nl . '}';
747 . $this->nl . $this->pStmts($node->stmts, false);
882 . $this->pStmts($node->stmts) . $this->nl . '}'
889 . $this->pStmts($node->stmts) . $this->nl . '}';
905 . ') {' . $this->pStmts($node->stmts) . $this->nl . '}';
912 . $this->pStmts($node->stmts) . $this->nl . '}';
917 . $this->pStmts($node->stmts) . $this->nl . '}';
921 return 'do {' . $this->pStmts($node->stmts) . $this->nl
927 . $this->pStmts($node->cases) . $this->nl . '}';
932 . $this->pStmts($node->stmts);
[all …]
/PHP-Parser/lib/PhpParser/
H A DPrettyPrinterAbstract.php241 return ltrim($this->handleMagicTokens($this->pStmts($stmts, false)));
320 protected function pStmts(array $nodes, bool $indent = true): string { function in PhpParser\\PrettyPrinterAbstract
550 $result = "<?php" . $this->newline . $this->pStmts($stmts, false);

Completed in 14 milliseconds