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.php111 protected string $nl; variable in PhpParser\\PrettyPrinterAbstract
199 $this->nl = $this->newline;
210 $this->nl = $this->newline . \str_repeat(' ', $level);
218 $this->nl .= ' ';
335 $result .= $this->nl . $this->p($node);
483 $result .= $this->nl . $this->p($node);
485 $result .= $this->nl;
510 return implode($this->nl, $formattedComments);
853 $result .= $insertStr . $this->nl;
908 $result .= $insertStr . $this->nl;
[all …]
/PHP-Parser/lib/PhpParser/PrettyPrinter/
H A DStandard.php141 $nl = $shouldIdent ? $this->nl : $this->newline;
149 return "<<<'$label'$nl$value$nl$label{$this->docStringEndToken}";
165 return "<<<$label$nl$escaped$nl$label{$this->docStringEndToken}";
179 $nl = $this->phpVersion->supportsFlexibleHeredoc() ? $this->nl : $this->newline;
663 . $this->nl
778 . $this->nl . '{' . $this->pStmts($node->stmts) . $this->nl . '}';
786 . $this->nl . '{' . $this->pStmts($node->stmts) . $this->nl . '}';
796 . $this->nl . '{' . $this->pStmts($node->stmts) . $this->nl . '}';
845 ? $this->nl . '{' . $this->pStmts($node->stmts) . $this->nl . '}'
862 . $this->nl . '{' . $this->pStmts($node->stmts) . $this->nl . '}';
[all …]
/PHP-Parser/
H A DUPGRADE-4.0.md61 `$this->nl`.

Completed in 17 milliseconds