Home
last modified time | relevance | path

Searched refs:items (Results 1 – 25 of 39) sorted by relevance

12

/PHP-Parser/test/code/formatPreservation/
H A Darray_spread.test4 $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 DarrayInsertionWithComments.test5 $items = [
18 $array->items[] = $node;
22 $items = [
33 $items = [
45 $items = [
54 $items = [
66 $items = [
75 $items = [
86 $items = [
94 $items = [];
[all …]
H A DlistInsertion.test285 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 DList_.php14 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 DArray_.php14 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 DarrayDef.test19 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 DarrayDestructuring.test14 items: array(
34 items: array(
58 items: array(
89 items: array(
94 items: array(
98 items: array(
144 items: array(
H A DlistReferences.test14 items: array(
33 items: array(
54 items: array(
73 items: array(
H A DlistWithKeys.test12 items: array(
26 items: array(
44 items: array(
50 items: array(
H A DarraySpread.test32 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 DarrayEmptyElemens.test14 items: array(
43 items: array(
H A DexprInList.test14 items: array(
44 items: array(
H A Dassign.test225 items: array(
247 items: array(
275 items: array(
287 items: array(
H A DissetAndEmpty.test57 items: array(
/PHP-Parser/test/code/parser/expr/uvs/
H A Disset.test16 items: array(
36 items: array(
52 items: array(
H A Dmisc.test93 items: array(
/PHP-Parser/tools/fuzzing/
H A Dtarget.php58 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 DconstantDeref.test52 items: array(
89 items: array(
132 items: array(
169 items: array(
/PHP-Parser/test/code/parser/stmt/function/
H A DdefaultValues.test128 items: array(
145 items: array(
162 items: array(
187 items: array(
H A DvariadicDefaultValue.test27 items: array(
/PHP-Parser/lib/PhpParser/
H A DBuilderHelpers.php252 $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 Dforeach.test83 items: array(
114 items: array(
139 items: array(
/PHP-Parser/test/code/parser/
H A DformattingAttributes.test252 items: array(
259 items: array(
267 items: array(
287 items: array(
/PHP-Parser/test/code/parser/stmt/generator/
H A DyieldPrecedence.test94 items: array(
176 items: array(
217 items: array(
/PHP-Parser/test/code/parser/stmt/class/
H A DtypedConstants.test80 items: array(

Completed in 35 milliseconds

12