Home
last modified time | relevance | path

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

/PHP-Parser/test/code/parser/stmt/class/
H A Dmodifier_error.test5 Multiple access type modifiers are not allowed from 1:24 to 1:29
40 Multiple access type modifiers are not allowed from 1:24 to 1:32
75 Multiple readonly modifiers are not allowed from 1:26 to 1:33
110 Multiple abstract modifiers are not allowed from 1:26 to 1:33
142 Multiple static modifiers are not allowed from 1:24 to 1:29
177 Multiple final modifiers are not allowed from 1:23 to 1:27
H A Dasymmetric_visibility.test1 Asymmetric visibility modifiers
143 Multiple access type modifiers are not allowed from 3:18 to 3:29
144 Multiple access type modifiers are not allowed from 4:18 to 4:28
H A DconstModifierErrors.test1 Invalid class constant modifiers
122 Multiple access type modifiers are not allowed from 3:12 to 3:17
H A Dproperty_modifiers.test1 Property modifiers
H A DconstModifiers.test1 Class constant modifiers
H A Dproperty_hooks.test428 Multiple access type modifiers are not allowed from 4:16 to 4:21
/PHP-Parser/lib/PhpParser/
H A DBuilderHelpers.php320 * @param int $modifiers Existing modifiers
325 public static function addModifier(int $modifiers, int $modifier): int { argument
326 Modifiers::verifyModifier($modifiers, $modifier);
327 return $modifiers | $modifier;
H A DPrettyPrinterAbstract.php1216 * @param int $modifiers Modifier mask to print
1220 protected function pModifiers(int $modifiers): string { argument
1221 return ($modifiers & Modifiers::FINAL ? 'final ' : '')
1222 . ($modifiers & Modifiers::ABSTRACT ? 'abstract ' : '')
1223 . ($modifiers & Modifiers::PUBLIC ? 'public ' : '')
1224 . ($modifiers & Modifiers::PROTECTED ? 'protected ' : '')
1225 . ($modifiers & Modifiers::PRIVATE ? 'private ' : '')
1226 . ($modifiers & Modifiers::PUBLIC_SET ? 'public(set) ' : '')
1228 . ($modifiers & Modifiers::PRIVATE_SET ? 'private(set) ' : '')
1229 . ($modifiers & Modifiers::STATIC ? 'static ' : '')
[all …]
/PHP-Parser/test/code/prettyPrinter/stmt/
H A Dasymmetric_visibility.test1 Asymmetric visibility modifiers
/PHP-Parser/
H A DCHANGELOG.md33 * [8.4] Added support for asymmetric visibility modifiers. Property `flags` can now hold the
207 * Added support for formatting preservation when toggling static modifiers.
334 * Multiple modifiers for promoted properties are now accepted. In particular this allows something
455 * Allow member modifiers as part of namespaced names. These were missed when support for other
757 * Added support for changing modifiers.
1086 * The `NodeDumper` now prints class/method/property/constant modifiers, as well as the include and
H A DUPGRADE-5.0.md342 `abstract` and `final` are now printed before visibility modifiers:

Completed in 16 milliseconds