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.php662 . ' {' . $this->pStmts($node->stmts) . $this->nl . '}';
752 . $this->nl . $this->pStmts($node->stmts, false);
897 . $this->pStmts($node->stmts) . $this->nl . '}'
904 . $this->pStmts($node->stmts) . $this->nl . '}';
920 . ') {' . $this->pStmts($node->stmts) . $this->nl . '}';
927 . $this->pStmts($node->stmts) . $this->nl . '}';
932 . $this->pStmts($node->stmts) . $this->nl . '}';
936 return 'do {' . $this->pStmts($node->stmts) . $this->nl
942 . $this->pStmts($node->cases) . $this->nl . '}';
947 . $this->pStmts($node->stmts);
[all …]
/PHP-Parser/lib/PhpParser/
H A DPrettyPrinterAbstract.php269 return ltrim($this->handleMagicTokens($this->pStmts($stmts, false)));
348 protected function pStmts(array $nodes, bool $indent = true): string { function in PhpParser\\PrettyPrinterAbstract
578 $result = "<?php" . $this->newline . $this->pStmts($stmts, false);

Completed in 13 milliseconds