Searched refs:property (Results 1 – 17 of 17) sorted by relevance
/PHP-Parser/test/code/parser/expr/fetchAndCall/ |
H A D | staticPropertyFetch.test | 1 Static property fetches 5 // property name variations 26 0: // property name variations
|
H A D | objectAccess.test | 5 // property fetch variations 29 0: // property fetch variations
|
/PHP-Parser/test/code/formatPreservation/ |
H A D | removingPropertyType.test | 1 Removing property type
|
H A D | addingPropertyType.test | 1 Adding property type
|
H A D | fixup.test | 58 // depending on where the property fetch node itself occurs.
|
/PHP-Parser/test/PhpParser/Builder/ |
H A D | ClassTest.php | 87 $property = new Stmt\Property( 98 ->addStmt($property) 105 'stmts' => [$use, $const, $property, $method]
|
/PHP-Parser/test/code/parser/stmt/class/ |
H A D | property_hooks.test | 427 Cannot use the public modifier on a property hook from 4:9 to 4:14 429 Cannot use the public modifier on a property hook from 4:16 to 4:21 430 Cannot use the protected modifier on a property hook from 5:9 to 5:17 431 Cannot use the private modifier on a property hook from 6:9 to 6:15 432 Cannot use the abstract modifier on a property hook from 7:9 to 7:16 433 Cannot use the static modifier on a property hook from 7:18 to 7:23 434 Cannot use the readonly modifier on a property hook from 8:9 to 8:16
|
/PHP-Parser/test/PhpParser/ |
H A D | BuilderFactoryTest.php | 314 ->addStmt($factory->property('someProperty')->makeProtected()) 315 ->addStmt($factory->property('anotherProperty') 318 ->addStmt($factory->property('integerProperty')
|
/PHP-Parser/doc/ |
H A D | README.md | 36 * Evaluating constant/property/etc initializers
|
/PHP-Parser/doc/component/ |
H A D | AST_builders.markdown | 68 ->addStmt($factory->property('someProperty')->makeProtected()) 69 ->addStmt($factory->property('anotherProperty')->makePrivate()->setDefault(array(1, 2, 3))) 134 * `propertyFetch($var, $name)`: Creates a property fetch node. Converts `$name` to an `Identifier`
|
H A D | Lexer.markdown | 81 > `$property->isPublic()` does not distinguish between `public` and `var`, directly checking `$prop… 82 > the `$property->flags & Class_::VISIBILITY_MODIFIER_MASK) === 0` allows making this distinction w… 86 does not distinguish whether a property was declared using `public` or using `var`, but you can ret…
|
H A D | Name_resolution.markdown | 28 `namespacedName` property added, which contains the function/class/etc name including the 29 namespace prefix. For historic reasons this is a **property** rather than an attribute.
|
H A D | Walking_the_AST.markdown | 360 certain property.
|
/PHP-Parser/ |
H A D | phpstan-baseline.neon | 134 message: "#^Access to an undefined property PhpParser\\\\Node\\:\\:\\$attrGroups\\.$#" 139 message: "#^Access to an undefined property PhpParser\\\\Node\\:\\:\\$name\\.$#" 144 message: "#^Access to an undefined property PhpParser\\\\Node\\:\\:\\$namespacedName\\.$#"
|
H A D | CHANGELOG.md | 31 * [8.4] Added support for property hooks, which are represented using a new `hooks` subnode on 43 supported by the PHP 7 parser. This is necessary in order to support property hooks. 305 * The `namespacedName` property populated by the `NameResolver` is now declared on relevant nodes, 306 to avoid a dynamic property deprecation warning with PHP 8.2. 366 * Builder methods for types now property handle `never` type. 419 * Added support for recovering from a missing semicolon after a property or class constant 1031 property. 1034 * Partial parsing of `$obj->` (with missing property name) is now supported in error recovery mode. 1086 * The `NodeDumper` now prints class/method/property/constant modifiers, as well as the include and
|
H A D | README.md | 220 * Evaluating constant/property/etc initializers
|
/PHP-Parser/lib/PhpParser/ |
H A D | BuilderFactory.php | 139 public function property(string $name): Builder\Property { function in PhpParser\\BuilderFactory
|
Completed in 25 milliseconds