Home
last modified time | relevance | path

Searched refs:InterpolatedString (Results 1 – 11 of 11) sorted by relevance

/PHP-Parser/lib/PhpParser/Node/Scalar/
H A DInterpolatedString.php9 class InterpolatedString extends Scalar { class
34 class_alias(InterpolatedString::class, Encapsed::class);
/PHP-Parser/test/PhpParser/
H A DPrettyPrinterTest.php8 use PhpParser\Node\Scalar\InterpolatedString; alias
130 [new InterpolatedString([new InterpolatedStringPart('')], $heredoc), "<<<STR\nSTR"],
136 … [new InterpolatedString([new InterpolatedStringPart('foo')], $heredoc), "<<<STR\nfoo\nSTR"],
137 …[new InterpolatedString([new InterpolatedStringPart('foo'), new Expr\Variable('y')], $heredoc), "<…
138 …[new InterpolatedString([new Expr\Variable('y'), new InterpolatedStringPart("STR\n")], $heredoc), …
140 …[new InterpolatedString([new Expr\Variable('y'), new InterpolatedStringPart("\nSTR")], $heredoc), …
141 …[new InterpolatedString([new InterpolatedStringPart("STR\n"), new Expr\Variable('y')], $heredoc), …
142 [new InterpolatedString([new InterpolatedStringPart("STR")], $heredoc), '"STR"'],
143 …[new InterpolatedString([new InterpolatedStringPart("\nSTR"), new Expr\Variable('y')], $heredoc), …
144 …[new InterpolatedString([new InterpolatedStringPart("STR\x80"), new Expr\Variable('y')], $heredoc)…
[all …]
H A DCompatibilityTest.php30 $node = new Scalar\InterpolatedString([$part]);
59 $this->assertTrue($node instanceof Scalar\InterpolatedString);
/PHP-Parser/lib/PhpParser/
H A DNodeDumper.php9 use PhpParser\Node\Scalar\InterpolatedString; alias
120 if ($node instanceof String_ || $node instanceof InterpolatedString) {
H A DParserAbstract.php19 use PhpParser\Node\Scalar\InterpolatedString; alias
887 return new InterpolatedString($newContents, $attributes);
H A DPrettyPrinterAbstract.php1361 Scalar\InterpolatedString::class => [
/PHP-Parser/
H A DUPGRADE-5.0.md282 * `Node\Scalar\Encapsed` is now `Node\Scalar\InterpolatedString`.
/PHP-Parser/grammar/
H A Dphp.y1239 …'"', $this->phpVersion->supportsUnicodeEscapes()); $$ = new Scalar\InterpolatedString($2, $attrs);…
/PHP-Parser/lib/PhpParser/PrettyPrinter/
H A DStandard.php180 protected function pScalar_InterpolatedString(Scalar\InterpolatedString $node): string {
/PHP-Parser/lib/PhpParser/Parser/
H A DPhp7.php2581 …sion->supportsUnicodeEscapes()); } }; $self->semValue = new Scalar\InterpolatedString($self->semSt…
H A DPhp8.php2583 …sion->supportsUnicodeEscapes()); } }; $self->semValue = new Scalar\InterpolatedString($self->semSt…

Completed in 50 milliseconds