Home
last modified time | relevance | path

Searched refs:properties (Results 1 – 11 of 11) sorted by relevance

/PHP-Parser/test/PhpParser/Node/Stmt/
H A DClassTest.php80 $properties = [
87 $properties[0],
89 $properties[1],
94 $this->assertSame($properties, $class->getProperties());
98 $properties = [
106 $properties[0],
108 $properties[1],
110 $properties[2],
/PHP-Parser/lib/PhpParser/Builder/
H A DTrait_.php17 protected array $properties = []; variable in PhpParser\\Builder\\Trait_
43 $this->properties[] = $stmt;
78 … 'stmts' => array_merge($this->uses, $this->constants, $this->properties, $this->methods),
H A DClass_.php23 protected array $properties = []; variable in PhpParser\\Builder\\Class_
110 $this->properties[] = $stmt;
147 … 'stmts' => array_merge($this->uses, $this->constants, $this->properties, $this->methods),
/PHP-Parser/lib/PhpParser/Node/Stmt/
H A DClassLike.php49 $properties = [];
52 $properties[] = $stmt;
55 return $properties;
/PHP-Parser/test/PhpParser/Builder/
H A DTraitTest.php81 $properties = [
88 $properties[0],
90 $properties[1],
95 $this->assertSame($properties, $trait->getProperties());
/PHP-Parser/test/code/prettyPrinter/stmt/
H A Dproperties.test1 Class properties
/PHP-Parser/test/code/parser/stmt/class/
H A DimplicitPublic.test1 Implicitly public properties and methods
/PHP-Parser/doc/component/
H A DAST_builders.markdown20 * properties, class constants and enum cases
67 // properties will be correctly reordered above the methods
H A DConstant_expression_evaluation.markdown4 Initializers for constants, properties, parameters, etc. have limited support for expressions. For
H A DWalking_the_AST.markdown103 and simplest is to simply change AST properties inside the visitor:
/PHP-Parser/
H A DCHANGELOG.md334 * Multiple modifiers for promoted properties are now accepted. In particular this allows something
335 like `public readonly` for promoted properties.
343 * [PHP 8.1] Added support for readonly properties (through a new `MODIFIER_READONLY`).
438 * [PHP 8.0] Added support for nullsafe properties inside interpolated strings, in line with an
620 * [PHP 7.4] Add support for typed properties through a new `type` subnode of `Stmt\Property`.

Completed in 16 milliseconds