Searched refs:y (Results 1 – 25 of 25) sorted by relevance
/PHP-Parser/test/code/prettyPrinter/expr/ |
H A D | newVariable.test | 9 new (x->y); 10 new ((x)::$y); 12 $x instanceof ($y++); 19 new (x->y)(); 20 new ((x)::$y)(); 22 $x instanceof ($y++);
|
/PHP-Parser/lib/PhpParser/Internal/ |
H A D | Differ.php | 39 return $this->extractDiff($trace, $x, $y, $old, $new); 77 $y = $x - $k; 78 while ($x < $n && $y < $m && ($this->isEqual)($old[$x], $new[$y])) { 80 $y++; 84 if ($x >= $n && $y >= $m) { 85 return [$trace, $x, $y]; 102 $k = $x - $y; 113 while ($x > $prevX && $y > $prevY) { 116 $y--; 128 while ($y > $prevY) { [all …]
|
/PHP-Parser/test/code/formatPreservation/ |
H A D | listRemoval.test | 33 $stmts[0]->params[] = new Node\Param(new Expr\Variable('y')); 40 $y 68 $y; 73 $y; 77 { $y; } 82 { $y; } 86 { $y; } 95 $y; 105 $y; 110 $y;
|
H A D | insertionOfNullable.test | 10 &$y 29 $y; 46 function y() 61 $y 70 $y) { 106 array &$y = null 125 $y; 142 function y(): Y 157 $z => $y 166 $y) {
|
H A D | indent.test | 30 $stmts[0]->stmts[] = new Stmt\Expression(new Expr\Variable('y')); 36 @@{"\t"}@@$y; 43 $y, 53 $y,
|
H A D | modifierChange.test | 38 = 'y', 39 private T2 $y 52 = 'y', 53 T2 $y
|
H A D | anonClasses.test | 11 $new->args[] = new Expr\Variable('y'); 15 ($x, $y)
|
H A D | removalViaNull.test | 35 y 88 $y 92 (X $y) 188 (X $y)
|
H A D | listInsertion.test | 351 list($x, $y) = $z; 356 list($x, , $y) = $z;
|
/PHP-Parser/test/code/prettyPrinter/stmt/ |
H A D | property_promotion.test | 9 protected array $y = [], 18 …public function __construct(public float $x = 0.0, protected array $y = [], private string $z = 'h… 30 public string $y = "123", 43 public string $y = "123",
|
H A D | multiCatch.test | 7 $y; 15 $y;
|
H A D | attributes.test | 30 $y = #[A11] fn() => 0; 57 $y = #[A11] fn() => 0;
|
/PHP-Parser/test/code/parser/stmt/ |
H A D | multiCatch.test | 7 $y; 37 name: y
|
H A D | newInInitializer.test | 8 static $y = new Foo; 69 name: y
|
H A D | attributes.test | 30 $y = #[A11] fn() => 0; 275 name: y
|
/PHP-Parser/test/code/parser/stmt/class/ |
H A D | shortEchoAsIdentifier.test | 6 x as y?><?= as my_echo; 37 name: y
|
H A D | property_promotion.test | 8 protected array $y = [], 65 name: y
|
/PHP-Parser/grammar/ |
H A D | README.md | 4 * `php.y`: PHP 5-8 grammar written in a pseudo language 11 The `.y` file is a normal grammar in `kmyacc` (`yacc`) style, with some transformations 26 * The `--debug` option enables emission of debug symbols and creates the `y.output` file.
|
H A D | parser.template | 21 * * the grammar file grammar/php.y
|
/PHP-Parser/ |
H A D | .editorconfig | 3 [*.y]
|
H A D | .gitignore | 5 grammar/y.output
|
H A D | CONTRIBUTING.md | 24 3. Add support for the new syntax in `grammar/php.y`. Regenerate the parser by running
|
H A D | UPGRADE-5.0.md | 97 Previously, the `list($x) = $y` destructuring syntax was represented using a `Node\Expr\List_` 98 node, while `[$x] = $y` used a `Node\Expr\Array_` node, the same used for the creation (rather than 107 [$x] = $y; 124 name: y 143 name: y
|
H A D | CHANGELOG.md | 109 typically used with code blocks, for example `if ($x) { $y; }` will be represented as previously,
|
/PHP-Parser/test/code/parser/ |
H A D | formattingAttributes.test | 44 list($x) = $y; 45 [$x] = $y; 280 name: y 300 name: y
|
Completed in 35 milliseconds