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
122 [new InterpolatedString([new InterpolatedStringPart('')], $heredoc), "<<<STR\nSTR"],
128 … [new InterpolatedString([new InterpolatedStringPart('foo')], $heredoc), "<<<STR\nfoo\nSTR"],
129 …[new InterpolatedString([new InterpolatedStringPart('foo'), new Expr\Variable('y')], $heredoc), "<…
130 …[new InterpolatedString([new Expr\Variable('y'), new InterpolatedStringPart("STR\n")], $heredoc), …
132 …[new InterpolatedString([new Expr\Variable('y'), new InterpolatedStringPart("\nSTR")], $heredoc), …
133 …[new InterpolatedString([new InterpolatedStringPart("STR\n"), new Expr\Variable('y')], $heredoc), …
134 [new InterpolatedString([new InterpolatedStringPart("STR")], $heredoc), '"STR"'],
135 …[new InterpolatedString([new InterpolatedStringPart("\nSTR"), new Expr\Variable('y')], $heredoc), …
136 …[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.php17 use PhpParser\Node\Scalar\InterpolatedString; alias
887 return new InterpolatedString($newContents, $attributes);
H A DPrettyPrinterAbstract.php1330 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.y1197 …'"', $this->phpVersion->supportsUnicodeEscapes()); $$ = new Scalar\InterpolatedString($2, $attrs);…
/PHP-Parser/lib/PhpParser/PrettyPrinter/
H A DStandard.php175 protected function pScalar_InterpolatedString(Scalar\InterpolatedString $node): string {
/PHP-Parser/lib/PhpParser/Parser/
H A DPhp7.php2534 …sion->supportsUnicodeEscapes()); } }; $self->semValue = new Scalar\InterpolatedString($self->semSt…
H A DPhp8.php2528 …sion->supportsUnicodeEscapes()); } }; $self->semValue = new Scalar\InterpolatedString($self->semSt…

Completed in 44 milliseconds