Home
last modified time | relevance | path

Searched refs:nl (Results 1 – 4 of 4) sorted by relevance

/PHP-Parser/lib/PhpParser/
H A DNodeDumper.php21 private string $nl; variable in PhpParser\\NodeDumper
63 $this->nl = "\n";
71 $this->nl .= " ";
81 $this->res .= "$this->nl " . $key . ': ';
103 $this->res .= "$this->nl comments: ";
113 $this->res .= "$this->nl $key: ";
137 $this->res .= "$this->nl)";
141 $this->res .= "$this->nl " . $key . ': ';
144 $this->res .= "$this->nl)";
148 $this->res .= \str_replace("\n", $this->nl, (string)$node);
[all …]
H A DPrettyPrinterAbstract.php121 protected string $nl; variable in PhpParser\\PrettyPrinterAbstract
222 $this->nl = $this->newline;
238 $this->nl = $this->newline . \str_repeat(' ', $level);
247 $this->nl .= $this->indent;
363 $result .= $this->nl . $this->p($node);
511 $result .= $this->nl . $this->p($node);
513 $result .= $this->nl;
538 return implode($this->nl, $formattedComments);
881 $result .= $insertStr . $this->nl;
936 $result .= $insertStr . $this->nl;
[all …]
/PHP-Parser/lib/PhpParser/PrettyPrinter/
H A DStandard.php146 $nl = $shouldIdent ? $this->nl : $this->newline;
154 return "<<<'$label'$nl$value$nl$label{$this->docStringEndToken}";
170 return "<<<$label$nl$escaped$nl$label{$this->docStringEndToken}";
184 $nl = $this->phpVersion->supportsFlexibleHeredoc() ? $this->nl : $this->newline;
668 . $this->nl
783 . $this->nl . '{' . $this->pStmts($node->stmts) . $this->nl . '}';
791 . $this->nl . '{' . $this->pStmts($node->stmts) . $this->nl . '}';
801 . $this->nl . '{' . $this->pStmts($node->stmts) . $this->nl . '}';
860 ? $this->nl . '{' . $this->pStmts($node->stmts) . $this->nl . '}'
877 . $this->nl . '{' . $this->pStmts($node->stmts) . $this->nl . '}';
[all …]
/PHP-Parser/
H A DUPGRADE-4.0.md61 `$this->nl`.

Completed in 17 milliseconds