Home
last modified time | relevance | path

Searched refs:value (Results 76 – 100 of 151) sorted by relevance

1234567

/PHP-Parser/lib/PhpParser/Node/Scalar/
H A DString_.php16 public string $value; variable in PhpParser\\Node\\Scalar\\String_
33 * @param string $value Value of the string
36 public function __construct(string $value, array $attributes = []) { argument
38 $this->value = $value;
/PHP-Parser/test/code/parser/expr/fetchAndCall/
H A DfuncCall.test43 value: a
81 value: b
100 value: c
117 value: b
H A DnewDeref.test51 value: b
66 value: b
70 value: c
H A DobjectAccess.test43 value: c
68 value: b
98 value: c
118 value: c
H A DstaticPropertyFetch.test45 value: b
60 value: c
/PHP-Parser/test/code/parser/stmt/class/
H A Dclass_position.test13 value: 1
46 value: 1
75 value: 1
H A Dsimple.test49 value: Scalar_String(
50 value: B
57 value: Scalar_String(
58 value: D
74 value: b
82 value: d
H A Danonymous.test141 value: Expr_Variable(
149 value: Expr_Variable(
204 value: Scalar_String(
205 value: B
215 value: Expr_Variable(
H A Dproperty_hooks.test7 set { echo $value; }
11 set => $value;
19 set(string $value) { }
62 value: 42
81 name: value
114 value: 42
128 name: value
200 value: 42
224 name: value
353 value: 42
/PHP-Parser/lib/PhpParser/Builder/
H A DClassConst.php33 public function __construct($name, $value) { argument
34 $this->constants = [new Const_($name, BuilderHelpers::normalizeValue($value))];
45 public function addConst($name, $value) { argument
46 $this->constants[] = new Const_($name, BuilderHelpers::normalizeValue($value));
H A DParam.php33 * @param mixed $value Default value to use
37 public function setDefault($value) { argument
38 $this->default = BuilderHelpers::normalizeValue($value);
/PHP-Parser/lib/PhpParser/
H A DNode.php119 * @param mixed $value
121 public function setAttribute(string $key, $value): void; argument
/PHP-Parser/test/code/parser/stmt/namespace/
H A DoutsideStmt.test19 value: Scalar_String(
20 value: B
/PHP-Parser/test/code/parser/stmt/
H A DcontrolFlow.test25 value: 2
33 value: 2
H A Dswitch.test29 value: 0
39 value: 1
H A Dattributes.test60 value: Scalar_Int(
61 value: 0
77 value: Scalar_Int(
78 value: 1
297 value: 0
358 value: 0
/PHP-Parser/test/code/parser/expr/
H A DexprInIsset.test30 value: 1
33 value: 1
H A Dvariable.test21 value: a
60 value: b
H A Dassign.test228 value: Expr_Variable(
250 value: Expr_Variable(
259 value: Expr_Variable(
278 value: Expr_Variable(
286 value: Expr_List(
291 value: Expr_Variable(
304 value: Expr_Variable(
/PHP-Parser/test/code/parser/errorHandling/
H A Drecovery.test131 value: 1
156 value: 1
179 value: 0
189 value: 1
199 value: 2
222 value: 0
246 value: 2
495 value: 2
503 value: 2
511 value: 2
[all …]
/PHP-Parser/test/code/parser/stmt/function/
H A DspecialVars.test29 value: b
52 value: e
/PHP-Parser/test/PhpParser/Builder/
H A DClassConstTest.php19 public function createClassConstBuilder($name, $value) { argument
20 return new ClassConst($name, $value);
160 public function testValues($value, $expectedValueNode): void { argument
161 $node = $this->createClassConstBuilder('TEST', $value)
165 $this->assertEquals($expectedValueNode, $node->consts[0]->value);
H A DEnumCaseTest.php62 public function testValues($value, $expectedValueNode): void { argument
64 ->setValue($value)
/PHP-Parser/test/code/parser/stmt/loop/
H A Dforeach.test86 value: Expr_Variable(
94 value: Expr_Variable(
117 value: Expr_Variable(
126 value: Expr_Variable(
/PHP-Parser/grammar/
H A DrebuildParsers.php77 $value = $defines[$matches[1]] ?? false;
78 return $value ? $matches[2] : '';

Completed in 30 milliseconds

1234567