Home
last modified time | relevance | path

Searched refs:hook (Results 1 – 3 of 3) sorted by relevance

/PHP-Parser/test/code/parser/stmt/class/
H A Dproperty_hooks.test246 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
315 get hook must not have a parameter list from 4:12 to 4:12
367 Unknown hook "FOO", expected "get" or "set" from 3:20 to 3:22
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
[all …]
/PHP-Parser/lib/PhpParser/Builder/
H A DProperty.php196 public function addHook(Node\PropertyHook $hook) { argument
197 $this->hooks[] = $hook;
/PHP-Parser/lib/PhpParser/
H A DParserAbstract.php1169 protected function checkPropertyHook(PropertyHook $hook, ?int $paramListPos): void { argument
1170 $name = $hook->name->toLowerString();
1173 'Unknown hook "' . $hook->name . '", expected "get" or "set"',
1174 $hook->name->getAttributes()));

Completed in 7 milliseconds