Home
last modified time | relevance | path

Searched refs:key (Results 1 – 25 of 43) sorted by relevance

12

/PHP-Parser/lib/PhpParser/Node/
H A DDeclareItem.php10 public Identifier $key; variable in PhpParser\\Node\\DeclareItem
21 public function __construct($key, Node\Expr $value, array $attributes = []) { argument
23 $this->key = \is_string($key) ? new Node\Identifier($key) : $key;
H A DArrayItem.php9 public ?Expr $key; variable in PhpParser\\Node\\ArrayItem
21 * @param null|Expr $key Key
25 …public function __construct(Expr $value, ?Expr $key = null, bool $byRef = false, array $attributes… argument
27 $this->key = $key;
/PHP-Parser/test/code/parser/expr/
H A DarraySpread.test34 key: null
42 key: null
50 key: null
152 key: null
167 key: null
206 key: null
220 key: null
238 key: null
256 key: null
307 key: null
[all …]
H A DarrayDestructuring.test16 key: null
24 key: null
36 key: null
44 key: null
61 key: null
71 key: null
92 key: null
96 key: null
127 key: null
146 key: Scalar_String(
[all …]
H A DarrayDef.test27 key: null
41 key: null
55 key: null
63 key: null
77 key: null
85 key: null
93 key: Scalar_String(
103 key: Scalar_String(
128 key: null
136 key: null
[all …]
H A DarrayEmptyElemens.test16 key: null
24 key: null
31 key: null
45 key: null
53 key: null
60 key: null
H A DlistWithKeys.test14 key: Scalar_String(
28 key: Scalar_String(
46 key: Scalar_String(
52 key: Expr_Variable(
67 key: Scalar_String(
H A DlistReferences.test16 key: null
35 key: Scalar_String(
56 key: null
75 key: Scalar_String(
H A DissetAndEmpty.test59 key: null
67 key: null
75 key: null
H A DexprInList.test16 key: null
24 key: null
46 key: null
H A Dassign.test227 key: null
249 key: null
258 key: null
277 key: null
285 key: null
290 key: null
303 key: null
/PHP-Parser/lib/PhpParser/Node/Expr/
H A DYield_.php9 public ?Expr $key; variable in PhpParser\\Node\\Expr\\Yield_
17 * @param null|Expr $key Key expression
20 public function __construct(?Expr $value = null, ?Expr $key = null, array $attributes = []) { argument
22 $this->key = $key;
/PHP-Parser/test/code/parser/stmt/generator/
H A DyieldPrecedence.test31 key: null
45 key: null
57 key: Scalar_String(
73 key: Scalar_String(
96 key: null
123 key: null
125 key: Scalar_String(
129 key: Scalar_String(
146 key: Expr_Yield(
147 key: Scalar_String(
[all …]
H A Dbasic.test9 yield $key => $value;
14 $data = (yield $key => $value);
48 key: null
57 key: null
66 name: key
79 key: null
117 key: null
143 key: null
166 key: null
178 key: null
[all …]
H A DyieldUnaryPrecedence.test25 key: null
35 key: null
46 key: null
/PHP-Parser/test/code/prettyPrinter/stmt/
H A Dforeach.test13 foreach ($arr as $key => $val) {
17 foreach ($arr as $key => &$val) {
25 foreach ($arr as $key => $val) {
27 foreach ($arr as $key => &$val) {
/PHP-Parser/test/code/parser/expr/fetchAndCall/
H A DconstantDeref.test54 key: null
62 key: null
70 key: null
91 key: null
99 key: null
107 key: null
134 key: null
142 key: null
150 key: null
171 key: null
[all …]
/PHP-Parser/lib/PhpParser/
H A DNodeAbstract.php151 public function setAttribute(string $key, $value): void { argument
152 $this->attributes[$key] = $value;
155 public function hasAttribute(string $key): bool { argument
156 return array_key_exists($key, $this->attributes);
159 public function getAttribute(string $key, $default = null) { argument
160 if (array_key_exists($key, $this->attributes)) {
161 return $this->attributes[$key];
H A DNode.php121 public function setAttribute(string $key, $value): void; argument
126 public function hasAttribute(string $key): bool; argument
135 public function getAttribute(string $key, $default = null); argument
H A DNodeDumper.php80 foreach ($node->getSubNodeNames() as $key) {
81 $this->res .= "$this->nl " . $key . ': ';
83 $value = $node->$key;
85 if ('flags' === $key || 'newModifier' === $key) {
93 if ('type' === $key
108 foreach ($node->getAttributes() as $key => $value) {
109 if (isset(self::IGNORE_ATTRIBUTES[$key])) {
113 $this->res .= "$this->nl $key: ";
115 if ('kind' === $key) {
140 foreach ($node as $key => $value) {
[all …]
/PHP-Parser/test/code/parser/stmt/
H A Ddeclare.test18 key: Identifier(
31 key: Identifier(
39 key: Identifier(
60 key: Identifier(
68 key: Identifier(
/PHP-Parser/test/code/parser/expr/uvs/
H A Disset.test18 key: null
26 key: null
54 key: Scalar_String(
H A Dmisc.test95 key: null
103 key: null
/PHP-Parser/test/code/parser/stmt/loop/
H A Dforeach.test85 key: null
93 key: null
116 key: null
125 key: null
/PHP-Parser/test/code/formatPreservation/
H A DremovalViaNull.test70 $key
109 $stmts[6]->expr->items[1]->key = null;
110 $stmts[7]->expr->key = null;

Completed in 80 milliseconds

12