function PrettyPrinterAbstract::resetState
Reset pretty printing state.
3 calls to PrettyPrinterAbstract::resetState()
- PrettyPrinterAbstract::prettyPrint in vendor/
nikic/ php-parser/ lib/ PhpParser/ PrettyPrinterAbstract.php - Pretty prints an array of statements.
- PrettyPrinterAbstract::prettyPrintExpr in vendor/
nikic/ php-parser/ lib/ PhpParser/ PrettyPrinterAbstract.php - Pretty prints an expression.
- PrettyPrinterAbstract::printFormatPreserving in vendor/
nikic/ php-parser/ lib/ PhpParser/ PrettyPrinterAbstract.php - Perform a format-preserving pretty print of an AST.
File
-
vendor/
nikic/ php-parser/ lib/ PhpParser/ PrettyPrinterAbstract.php, line 220
Class
Namespace
PhpParserCode
protected function resetState() : void {
$this->indentLevel = 0;
$this->nl = $this->newline;
$this->origTokens = null;
}