Home
last modified time | relevance | path

Searched refs:property (Results 1 – 17 of 17) sorted by relevance

/PHP-Parser/test/code/parser/expr/fetchAndCall/
H A DstaticPropertyFetch.test1 Static property fetches
5 // property name variations
26 0: // property name variations
H A DobjectAccess.test5 // property fetch variations
29 0: // property fetch variations
/PHP-Parser/test/code/formatPreservation/
H A DremovingPropertyType.test1 Removing property type
H A DaddingPropertyType.test1 Adding property type
H A Dfixup.test58 // depending on where the property fetch node itself occurs.
/PHP-Parser/test/PhpParser/Builder/
H A DClassTest.php87 $property = new Stmt\Property(
98 ->addStmt($property)
105 'stmts' => [$use, $const, $property, $method]
/PHP-Parser/test/code/parser/stmt/class/
H A Dproperty_hooks.test427 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 DBuilderFactoryTest.php314 ->addStmt($factory->property('someProperty')->makeProtected())
315 ->addStmt($factory->property('anotherProperty')
318 ->addStmt($factory->property('integerProperty')
/PHP-Parser/doc/
H A DREADME.md36 * Evaluating constant/property/etc initializers
/PHP-Parser/doc/component/
H A DAST_builders.markdown68 ->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 DLexer.markdown81 > `$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 DName_resolution.markdown28 `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 DWalking_the_AST.markdown360 certain property.
/PHP-Parser/
H A Dphpstan-baseline.neon134 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 DCHANGELOG.md31 * [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 DREADME.md220 * Evaluating constant/property/etc initializers
/PHP-Parser/lib/PhpParser/
H A DBuilderFactory.php139 public function property(string $name): Builder\Property { function in PhpParser\\BuilderFactory

Completed in 30 milliseconds