/PHP-Parser/test/PhpParser/Node/Stmt/ |
H A D | PropertyTest.php | 12 $node = new Property( 21 $node = new Property(0, []); 34 $node = new Property(Modifiers::STATIC, []); 53 $node = new Property(Modifiers::PRIVATE_SET, []); 55 $node = new Property(Modifiers::PROTECTED_SET, []); 57 $node = new Property(Modifiers::PUBLIC_SET, []);
|
H A D | ClassTest.php | 54 new Property(0, []), 81 new Property(Modifiers::PUBLIC, [new PropertyItem('foo')]), 82 new Property(Modifiers::PUBLIC, [new PropertyItem('bar')]), 99 $fooProp = new Property(Modifiers::PUBLIC, [new PropertyItem('foo1')]), 100 $barProp = new Property(Modifiers::PUBLIC, [new PropertyItem('BAR1')]), 101 …$fooBarProp = new Property(Modifiers::PUBLIC, [new PropertyItem('foo2'), new PropertyItem('bar2')]… 129 new Property(0, []),
|
/PHP-Parser/test/PhpParser/Builder/ |
H A D | PropertyTest.php | 22 return new Property($name); 33 new Stmt\Property( 46 new Stmt\Property( 59 new Stmt\Property( 72 new Stmt\Property( 83 new Stmt\Property(Modifiers::FINAL, [new PropertyItem('test')]), 90 new Stmt\Property(Modifiers::PRIVATE_SET, [new PropertyItem('test')]), 97 new Stmt\Property(Modifiers::PROTECTED_SET, [new PropertyItem('test')]), 112 $this->assertEquals(new Stmt\Property( 148 new Stmt\Property( [all …]
|
H A D | TraitTest.php | 17 use PhpParser\Node\Stmt\Property; alias 30 $prop = new Stmt\Property(Modifiers::PUBLIC, [ 72 new Property(0, []), 82 new Property(Modifiers::PUBLIC, [new PropertyItem('foo')]), 83 new Property(Modifiers::PUBLIC, [new PropertyItem('bar')]),
|
H A D | ClassTest.php | 87 $property = new Stmt\Property(
|
/PHP-Parser/lib/PhpParser/Node/Stmt/ |
H A D | ClassLike.php | 46 * @return Property[] 51 if ($stmt instanceof Property) { 63 * @return Property|null Property node or null if the property does not exist 65 public function getProperty(string $name): ?Property { 67 if ($stmt instanceof Property) {
|
H A D | Property.php | 12 class Property extends Node\Stmt { class
|
/PHP-Parser/lib/PhpParser/Node/Scalar/MagicConst/ |
H A D | Property.php | 7 class Property extends MagicConst { class
|
/PHP-Parser/test/code/prettyPrinter/stmt/ |
H A D | property_promotion.test | 1 Property promotion
|
H A D | property_hooks.test | 1 Property hooks
|
/PHP-Parser/lib/PhpParser/Builder/ |
H A D | Property.php | 14 class Property implements PhpParser\Builder { class 212 return new Stmt\Property(
|
H A D | Trait_.php | 42 if ($stmt instanceof Stmt\Property) {
|
H A D | Class_.php | 109 if ($stmt instanceof Stmt\Property) {
|
/PHP-Parser/test/code/parser/stmt/class/ |
H A D | property_modifiers.test | 1 Property modifiers
|
H A D | property_hooks.test | 1 Property hooks 246 Property hook list cannot be empty from 3:18 to 3:18 247 Property hook list cannot be empty from 4:47 to 4:47
|
H A D | property_promotion.test | 1 Property promotion
|
/PHP-Parser/lib/PhpParser/ |
H A D | BuilderFactory.php | 139 public function property(string $name): Builder\Property { 140 return new Builder\Property($name);
|
H A D | PrettyPrinterAbstract.php | 1543 Stmt\Property::class . '->props' => ', ', 1584 Stmt\Property::class . '->attrGroups' => "\n", 1596 Stmt\Property::class . '->hooks' => "\n", 1633 Stmt\Property::class . '->attrGroups' => [null, '', "\n"], 1678 Stmt\Property::class . '->flags' => ['pModifiers', \T_VARIABLE],
|
/PHP-Parser/test/code/formatPreservation/ |
H A D | property_hooks.test | 1 Property hooks
|
/PHP-Parser/doc/component/ |
H A D | Lexer.markdown | 91 function isDeclaredUsingVar(array $tokens, PhpParser\Node\Stmt\Property $prop) { 108 if ($node instanceof PhpParser\Node\Stmt\Property) {
|
/PHP-Parser/ |
H A D | UPGRADE-4.0.md | 65 * Removed `type` subnode on `Class_`, `ClassMethod` and `Property` nodes. Use `flags` instead.
|
H A D | CHANGELOG.md | 30 `Node\Scalar\MagicConst\Property` node. 32 `Node\Stmt\Property` and `Node\Param`, which contains an array of `Node\PropertyHook`. 33 * [8.4] Added support for asymmetric visibility modifiers. Property `flags` can now hold the 137 versions. Property types have been added where possible. 436 `Stmt\ClassMethod`, `Stmt\ClassConst`, `Stmt\Property`, `Expr\Closure`, `Expr\ArrowFunction` and 620 * [PHP 7.4] Add support for typed properties through a new `type` subnode of `Stmt\Property`. 621 Additionally `Builder\Property` now has a `setType()` method. (#567) 813 * Removed `type` subnode on `Class`, `ClassMethod` and `Property` nodes. Use `flags` instead. 1079 * The `type` subnode on `Class`, `ClassMethod` and `Property` has been renamed to `flags`. The
|
/PHP-Parser/test/PhpParser/ |
H A D | BuilderFactoryTest.php | 32 ['property', Builder\Property::class],
|
/PHP-Parser/lib/PhpParser/NodeVisitor/ |
H A D | NameResolver.php | 108 } elseif ($node instanceof Stmt\Property) {
|
/PHP-Parser/grammar/ |
H A D | php.y | 839 { $$ = new Stmt\Property($2, $4, attributes(), $3, $1); } 842 { $$ = new Stmt\Property($2, $4, attributes(), $3, $1, $6); 1209 | T_PROPERTY_C { $$ = Scalar\MagicConst\Property[]; }
|