Home
last modified time | relevance | path

Searched refs:PropertyHook (Results 1 – 15 of 15) sorted by relevance

/PHP-Parser/test/code/parser/stmt/class/
H A Dproperty_hooks.test49 0: PropertyHook(
67 1: PropertyHook(
103 0: PropertyHook(
117 1: PropertyHook(
147 0: PropertyHook(
159 1: PropertyHook(
187 0: PropertyHook(
205 1: PropertyHook(
342 0: PropertyHook(
394 0: PropertyHook(
[all …]
H A Dproperty_promotion.test122 0: PropertyHook(
152 0: PropertyHook(
/PHP-Parser/lib/PhpParser/Node/
H A DParam.php24 /** @var PropertyHook[] Property hooks for promoted properties */
38 * @param PropertyHook[] $hooks Property hooks for promoted properties
H A DPropertyHook.php8 class PropertyHook extends NodeAbstract implements FunctionLike { class
/PHP-Parser/test/PhpParser/Builder/
H A DPropertyTest.php14 use PhpParser\Node\PropertyHook; alias
162 $get = new PropertyHook('get', null);
163 $set = new PropertyHook('set', null);
/PHP-Parser/test/code/formatPreservation/
H A Dproperty_hooks.test11 $stmts[0]->stmts[0]->hooks[] = new Node\PropertyHook('set', new Scalar\Int_(123));
30 $stmts[0]->stmts[0]->params[0]->hooks[] = new Node\PropertyHook('set', new Scalar\Int_(123));
/PHP-Parser/lib/PhpParser/Builder/
H A DProperty.php196 public function addHook(Node\PropertyHook $hook) {
/PHP-Parser/lib/PhpParser/
H A DPrettyPrinterAbstract.php17 use PhpParser\Node\PropertyHook; alias
1551 PropertyHook::class . '->params' => ', ',
1589 PropertyHook::class . '->attrGroups' => ' ',
1595 PropertyHook::class . '->body' => "\n",
1681 PropertyHook::class . '->flags' => ['pModifiers', \T_STRING],
H A DParserAbstract.php18 use PhpParser\Node\PropertyHook; alias
1161 /** @param PropertyHook[] $hooks */
1169 protected function checkPropertyHook(PropertyHook $hook, ?int $paramListPos): void {
/PHP-Parser/lib/PhpParser/NodeVisitor/
H A DNameResolver.php113 } elseif ($node instanceof Node\PropertyHook) {
/PHP-Parser/grammar/
H A Dphp.y958 …{ $$ = Node\PropertyHook[$4, $5, ['flags' => $2, 'byRef' => $3, 'params' => [], 'attrGroups' => $1…
961 …{ $$ = Node\PropertyHook[$4, $8, ['flags' => $2, 'byRef' => $3, 'params' => $6, 'attrGroups' => $1…
/PHP-Parser/
H A DCHANGELOG.md18 * Resolve names in `PropertyHook`s in the `NameResolver`.
32 `Node\Stmt\Property` and `Node\Param`, which contains an array of `Node\PropertyHook`.
/PHP-Parser/lib/PhpParser/PrettyPrinter/
H A DStandard.php844 protected function pPropertyHook(Node\PropertyHook $node): string {
/PHP-Parser/lib/PhpParser/Parser/
H A DPhp7.php2126 …$self->semValue = new Node\PropertyHook($self->semStack[$stackPos-(5-4)], $self->semStack[$stackPo…
2130 …$self->semValue = new Node\PropertyHook($self->semStack[$stackPos-(8-4)], $self->semStack[$stackPo…
H A DPhp8.php2128 …$self->semValue = new Node\PropertyHook($self->semStack[$stackPos-(5-4)], $self->semStack[$stackPo…
2132 …$self->semValue = new Node\PropertyHook($self->semStack[$stackPos-(8-4)], $self->semStack[$stackPo…

Completed in 92 milliseconds