/PHP-Parser/test/code/formatPreservation/ |
H A D | array_spread.test | 4 $items = [ 9 $array->items[] = new Expr\ArrayItem(new Expr\Variable('b')); 12 $items = [ 17 $items = 23 $array->items[] = new Expr\ArrayItem(new Expr\Variable('c'), null, false, [], true); 26 $items =
|
H A D | arrayInsertionWithComments.test | 5 $items = [ 18 $array->items[] = $node; 22 $items = [ 33 $items = [ 45 $items = [ 54 $items = [ 66 $items = [ 75 $items = [ 86 $items = [ 94 $items = []; [all …]
|
H A D | listInsertion.test | 285 array_unshift($stmts[0]->expr->expr->items, new Expr\ArrayItem(new Scalar\LNumber(42))); 286 $stmts[0]->expr->expr->items[] = new Expr\ArrayItem(new Scalar\LNumber(24)); 303 $stmts[0]->expr->expr->items[] = new Expr\ArrayItem(new Scalar\LNumber(24)); 353 array_splice($stmts[0]->expr->var->items, 1, 0, [null]);
|
/PHP-Parser/lib/PhpParser/Node/Expr/ |
H A D | List_.php | 14 public array $items; variable in PhpParser\\Node\\Expr\\List_ 19 * @param (ArrayItem|null)[] $items List of items to assign to 22 public function __construct(array $items, array $attributes = []) { argument 24 $this->items = $items;
|
H A D | Array_.php | 14 public array $items; variable in PhpParser\\Node\\Expr\\Array_ 19 * @param ArrayItem[] $items Items of the array 22 public function __construct(array $items = [], array $attributes = []) { argument 24 $this->items = $items;
|
/PHP-Parser/test/code/parser/expr/ |
H A D | arrayDef.test | 19 items: array( 25 items: array( 39 items: array( 53 items: array( 75 items: array( 117 items: array( 126 items: array( 156 items: array(
|
H A D | arrayDestructuring.test | 14 items: array( 34 items: array( 58 items: array( 89 items: array( 94 items: array( 98 items: array( 144 items: array(
|
H A D | listReferences.test | 14 items: array( 33 items: array( 54 items: array( 73 items: array(
|
H A D | listWithKeys.test | 12 items: array( 26 items: array( 44 items: array( 50 items: array(
|
H A D | arraySpread.test | 32 items: array( 74 items: array( 150 items: array( 154 items: array( 165 items: array( 204 items: array( 218 items: array( 236 items: array( 254 items: array( 305 items: array( [all …]
|
H A D | arrayEmptyElemens.test | 14 items: array( 43 items: array(
|
H A D | exprInList.test | 14 items: array( 44 items: array(
|
H A D | assign.test | 225 items: array( 247 items: array( 275 items: array( 287 items: array(
|
H A D | issetAndEmpty.test | 57 items: array(
|
/PHP-Parser/test/code/parser/expr/uvs/ |
H A D | isset.test | 16 items: array( 36 items: array( 52 items: array(
|
H A D | misc.test | 93 items: array(
|
/PHP-Parser/tools/fuzzing/ |
H A D | target.php | 58 while (!empty($node->items) && $node->items[count($node->items) - 1] === null) { 59 array_pop($node->items);
|
/PHP-Parser/test/code/parser/expr/fetchAndCall/ |
H A D | constantDeref.test | 52 items: array( 89 items: array( 132 items: array( 169 items: array(
|
/PHP-Parser/test/code/parser/stmt/function/ |
H A D | defaultValues.test | 128 items: array( 145 items: array( 162 items: array( 187 items: array(
|
H A D | variadicDefaultValue.test | 27 items: array(
|
/PHP-Parser/lib/PhpParser/ |
H A D | BuilderHelpers.php | 252 $items = []; 257 $items[] = new Node\ArrayItem( 262 $items[] = new Node\ArrayItem( 269 return new Expr\Array_($items);
|
/PHP-Parser/test/code/parser/stmt/loop/ |
H A D | foreach.test | 83 items: array( 114 items: array( 139 items: array(
|
/PHP-Parser/test/code/parser/ |
H A D | formattingAttributes.test | 252 items: array( 259 items: array( 267 items: array( 287 items: array(
|
/PHP-Parser/test/code/parser/stmt/generator/ |
H A D | yieldPrecedence.test | 94 items: array( 176 items: array( 217 items: array(
|
/PHP-Parser/test/code/parser/stmt/class/ |
H A D | typedConstants.test | 80 items: array(
|