Home
last modified time | relevance | path

Searched refs:InterpolatedStringPart (Results 1 – 22 of 22) sorted by relevance

/PHP-Parser/test/code/parser/scalar/
H A DflexibleDocString.test169 0: InterpolatedStringPart(
177 2: InterpolatedStringPart(
203 0: InterpolatedStringPart(
215 2: InterpolatedStringPart(
232 1: InterpolatedStringPart(
244 1: InterpolatedStringPart(
256 1: InterpolatedStringPart(
268 1: InterpolatedStringPart(
283 1: InterpolatedStringPart(
289 3: InterpolatedStringPart(
[all …]
H A DencapsedString.test226 0: InterpolatedStringPart(
232 2: InterpolatedStringPart(
241 0: InterpolatedStringPart(
247 2: InterpolatedStringPart(
256 0: InterpolatedStringPart(
268 0: InterpolatedStringPart(
274 2: InterpolatedStringPart(
288 1: InterpolatedStringPart(
297 0: InterpolatedStringPart(
314 0: InterpolatedStringPart(
[all …]
H A DunicodeEscape.test18 0: InterpolatedStringPart(
30 0: InterpolatedStringPart(
57 0: InterpolatedStringPart(
69 0: InterpolatedStringPart(
H A DdocString.test67 0: InterpolatedStringPart(
82 0: InterpolatedStringPart(
88 2: InterpolatedStringPart(
99 4: InterpolatedStringPart(
116 1: InterpolatedStringPart(
H A DdocStringNewlines.test40 1: InterpolatedStringPart(
70 1: InterpolatedStringPart(
H A DflexibleDocStringErrors.test83 0: InterpolatedStringPart(
106 0: InterpolatedStringPart(
/PHP-Parser/test/code/parser/expr/
H A DshellExec.test20 0: InterpolatedStringPart(
29 0: InterpolatedStringPart(
41 0: InterpolatedStringPart(
50 0: InterpolatedStringPart(
/PHP-Parser/lib/PhpParser/Node/Expr/
H A DShellExec.php6 use PhpParser\Node\InterpolatedStringPart; alias
9 /** @var (Expr|InterpolatedStringPart)[] Interpolated string array */
15 * @param (Expr|InterpolatedStringPart)[] $parts Interpolated string array
/PHP-Parser/lib/PhpParser/Node/Scalar/
H A DInterpolatedString.php6 use PhpParser\Node\InterpolatedStringPart; alias
10 /** @var (Expr|InterpolatedStringPart)[] list of string parts */
16 * @param (Expr|InterpolatedStringPart)[] $parts Interpolated string parts
/PHP-Parser/lib/PhpParser/Node/
H A DInterpolatedStringPart.php7 class InterpolatedStringPart extends NodeAbstract { class
32 class_alias(InterpolatedStringPart::class, Scalar\EncapsedStringPart::class);
/PHP-Parser/test/PhpParser/
H A DPrettyPrinterTest.php9 use PhpParser\Node\InterpolatedStringPart; 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.php6 use PhpParser\Node\InterpolatedStringPart; alias
28 $part = new InterpolatedStringPart('foo');
57 $this->assertTrue($part instanceof Node\InterpolatedStringPart);
/PHP-Parser/test/code/parser/
H A DformattingAttributes.test124 0: InterpolatedStringPart(
139 0: InterpolatedStringPart(
150 0: InterpolatedStringPart(
211 0: InterpolatedStringPart(
219 2: InterpolatedStringPart(
232 0: InterpolatedStringPart(
240 2: InterpolatedStringPart(
/PHP-Parser/test/code/parser/expr/uvs/
H A Dmisc.test28 0: InterpolatedStringPart(
45 0: InterpolatedStringPart(
/PHP-Parser/lib/PhpParser/
H A DParserAbstract.php15 use PhpParser\Node\InterpolatedStringPart; alias
803 * @param string|(Expr|InterpolatedStringPart)[] $contents
861 if (!$contents[0] instanceof Node\InterpolatedStringPart) {
870 if ($part instanceof Node\InterpolatedStringPart) {
H A DPrettyPrinterAbstract.php1099 if (!$subNode instanceof Node\InterpolatedStringPart
/PHP-Parser/lib/PhpParser/PrettyPrinter/
H A DStandard.php186 && $node->parts[0] instanceof Node\InterpolatedStringPart
1054 if ($element instanceof Node\InterpolatedStringPart) {
1120 if ($part instanceof Node\InterpolatedStringPart
/PHP-Parser/lib/PhpParser/Parser/
H A DPhp7.php2516 …1-1)]); foreach ($self->semValue as $s) { if ($s instanceof Node\InterpolatedStringPart) { $s->val…
2519 …$self->semStack[$stackPos-(1-1)] as $s) { if ($s instanceof Node\InterpolatedStringPart) { $s->val…
2581 …$self->semStack[$stackPos-(3-2)] as $s) { if ($s instanceof Node\InterpolatedStringPart) { $s->val…
2751 …] = $self->semStack[$stackPos-(1-1)]; $self->semValue = new Node\InterpolatedStringPart($self->sem…
H A DPhp8.php2518 …1-1)]); foreach ($self->semValue as $s) { if ($s instanceof Node\InterpolatedStringPart) { $s->val…
2521 …$self->semStack[$stackPos-(1-1)] as $s) { if ($s instanceof Node\InterpolatedStringPart) { $s->val…
2583 …$self->semStack[$stackPos-(3-2)] as $s) { if ($s instanceof Node\InterpolatedStringPart) { $s->val…
2747 …] = $self->semStack[$stackPos-(1-1)]; $self->semValue = new Node\InterpolatedStringPart($self->sem…
/PHP-Parser/
H A DUPGRADE-5.0.md283 * `Node\Scalar\EncapsedStringPart` is now `Node\InterpolatedStringPart` and no longer extends
H A DCHANGELOG.md104 * Added `rawValue` attribute to `InterpolatedStringPart` and heredoc/nowdoc `String_`s, which
/PHP-Parser/grammar/
H A Dphp.y1399 …{ $attrs = attributes(); $attrs['rawValue'] = $1; $$ = new Node\InterpolatedStringPart($1, $attrs)…

Completed in 57 milliseconds