/PHP-Parser/test/code/parser/scalar/ |
H A D | encapsedString.test | 33 parts: array( 42 parts: array( 56 parts: array( 70 parts: array( 84 parts: array( 98 parts: array( 112 parts: array( 126 parts: array( 140 parts: array( 154 parts: array( [all …]
|
H A D | encapsedNegVarOffset.test | 13 parts: array( 27 parts: array( 41 parts: array( 55 parts: array( 69 parts: array(
|
H A D | flexibleDocString.test | 168 parts: array( 202 parts: array( 228 parts: array( 240 parts: array( 252 parts: array( 264 parts: array( 279 parts: array( 297 parts: array( 318 parts: array( 331 parts: array( [all …]
|
H A D | unicodeEscape.test | 17 parts: array( 29 parts: array( 56 parts: array( 68 parts: array(
|
H A D | docString.test | 66 parts: array( 81 parts: array( 112 parts: array(
|
H A D | flexibleDocStringErrors.test | 82 parts: array( 95 parts: array( 105 parts: array(
|
H A D | docStringNewlines.test | 36 parts: array( 66 parts: array(
|
/PHP-Parser/lib/PhpParser/Node/Expr/ |
H A D | ShellExec.php | 10 public array $parts; variable in PhpParser\\Node\\Expr\\ShellExec 15 * @param (Expr|InterpolatedStringPart)[] $parts Interpolated string array 18 public function __construct(array $parts, array $attributes = []) { argument 20 $this->parts = $parts;
|
/PHP-Parser/lib/PhpParser/Node/Scalar/ |
H A D | InterpolatedString.php | 11 public array $parts; variable in PhpParser\\Node\\Scalar\\InterpolatedString 16 * @param (Expr|InterpolatedStringPart)[] $parts Interpolated string parts 19 public function __construct(array $parts, array $attributes = []) { argument 21 $this->parts = $parts;
|
/PHP-Parser/test/code/parser/expr/ |
H A D | shellExec.test | 13 parts: array( 19 parts: array( 28 parts: array( 40 parts: array( 49 parts: array(
|
H A D | nullsafe.test | 58 parts: array( 72 parts: array(
|
/PHP-Parser/test/PhpParser/ |
H A D | CodeTestParser.php | 19 $parts = preg_split("/\n-----(?:\n|$)/", $code); 22 $name = array_shift($parts); 25 $chunks = array_chunk($parts, $chunksPerTest); 38 foreach ($tests as list($mode, $parts)) { 39 $lastPart = array_pop($parts); 40 foreach ($parts as $part) {
|
H A D | CodeTestAbstract.php | 17 foreach ($tests as $i => list($mode, $parts)) { 18 $dataSetName = $shortName . (count($parts) > 1 ? '#' . $i : ''); 19 $allTests[$dataSetName] = array_merge([$name], $parts, [$mode]);
|
/PHP-Parser/test/code/formatPreservation/ |
H A D | rewriteVariableInterpolationString.test | 6 $stmts[0]->expr->parts[0]->setAttribute('origNode', null);
|
H A D | basic.test | 171 $stmts[0]->exprs[0]->parts[0] = new Expr\Variable('bar'); 172 $stmts[1]->exprs[0]->parts[0] = new Expr\Variable('bar');
|
/PHP-Parser/test/code/parser/ |
H A D | formattingAttributes.test | 123 parts: array( 138 parts: array( 149 parts: array( 210 parts: array( 231 parts: array(
|
/PHP-Parser/lib/PhpParser/Node/ |
H A D | Name.php | 184 $parts = \explode('\\', $this->name); 185 $numParts = \count($parts); 206 return new static(array_slice($parts, $realOffset, $realLength), $this->attributes);
|
/PHP-Parser/test/code/parser/expr/uvs/ |
H A D | misc.test | 27 parts: array( 44 parts: array(
|
/PHP-Parser/test_old/ |
H A D | run.php | 43 $parts = explode('=', $arg); variable 44 $name = $parts[0]; 48 $options[$name] = $parts[1] ?? true;
|
/PHP-Parser/ |
H A D | UPGRADE-2.0.md | 72 * String parts of encapsed strings are now represented using `Scalar\EncapsStringPart` nodes, while 73 previously raw strings were used. This affects the `parts` child of `Scalar\Encaps` and
|
H A D | UPGRADE-4.0.md | 59 extend the pretty printer). Previously indentation was automatic, and parts were excluded using
|
H A D | UPGRADE-5.0.md | 150 Previously, `Name` nodes had a `parts` subnode, which stores an array of name parts, split by 153 For example, the name `Foo\Bar` was previously represented by `Name(parts: ['Foo', 'Bar'])` and is 475 it extends from a polyfill implementation. The most important parts of the interface may be summari…
|
H A D | CHANGELOG.md | 178 * The `Name` subnode `parts` has been replaced by `name`, which stores the name as a string rather 179 than an array of parts separated by namespace separators. The `getParts()` method returns the old 468 * [PHP 8.0] Added support for keywords as parts of namespaced names. 769 preserved for parts of the code which have not been modified. 886 * `Name::$parts` is no longer deprecated. 1116 * Fixed reformatting of indented parts in a certain non-standard comment style. 1174 * String parts of encapsed strings are now represented using `Scalar\EncapsStringPart` nodes. 1175 Previously raw strings were used. This affects the `parts` child of `Scalar\Encaps` and 1177 parts.
|
/PHP-Parser/lib/PhpParser/PrettyPrinter/ |
H A D | Standard.php | 183 if ($label && !$this->encapsedContainsEndLabel($node->parts, $label)) { 185 if (count($node->parts) === 1 186 && $node->parts[0] instanceof Node\InterpolatedStringPart 187 && $node->parts[0]->value === '' 192 return "<<<$label$nl" . $this->pEncapsList($node->parts, null) 196 return '"' . $this->pEncapsList($node->parts, '"') . '"'; 652 return '`' . $this->pEncapsList($node->parts, '`') . '`'; 1118 protected function encapsedContainsEndLabel(array $parts, string $label): bool { argument 1119 foreach ($parts as $i => $part) {
|
/PHP-Parser/doc/component/ |
H A D | Pretty_printing.markdown | 71 this, because it will also reformat parts of the code which have not been modified.
|