/PHP-Parser/lib/PhpParser/Node/ |
H A D | IntersectionType.php | 7 public array $types; variable in PhpParser\\Node\\IntersectionType 12 * @param (Identifier|Name)[] $types Types 15 public function __construct(array $types, array $attributes = []) { argument 17 $this->types = $types;
|
H A D | UnionType.php | 7 public array $types; variable in PhpParser\\Node\\UnionType 12 * @param (Identifier|Name|IntersectionType)[] $types Types 15 public function __construct(array $types, array $attributes = []) { argument 17 $this->types = $types;
|
/PHP-Parser/test/code/parser/stmt/function/ |
H A D | disjointNormalFormTypes.test | 1 DNF types 29 types: array( 31 types: array( 41 types: array( 68 types: array( 70 types: array( 110 types: array( 112 types: array( 144 types: array( 146 types: array( [all …]
|
H A D | intersectionTypes.test | 1 Union types 28 types: array( 63 types: array( 83 types: array(
|
H A D | unionTypes.test | 1 Union types 28 types: array( 66 types: array( 86 types: array(
|
H A D | exit_die_function.test | 23 types: array( 63 types: array(
|
H A D | nullableTypes.test | 1 Nullable types
|
H A D | nullFalseTrueTypes.test | 1 standalone null, false and true types
|
/PHP-Parser/lib/PhpParser/Node/Stmt/ |
H A D | Catch_.php | 10 public array $types; variable in PhpParser\\Node\\Stmt\\Catch_ 25 array $types, ?Expr\Variable $var = null, array $stmts = [], array $attributes = [] argument 28 $this->types = $types;
|
/PHP-Parser/test/code/parser/stmt/ |
H A D | tryCatch.test | 39 types: array( 60 types: array( 100 types: array(
|
H A D | multiCatch.test | 23 types: array( 43 types: array(
|
H A D | tryCatch_without_variable.test | 17 types: array(
|
/PHP-Parser/test/code/prettyPrinter/stmt/ |
H A D | nullable_types.test | 1 Nullable types
|
H A D | intersection_types.test | 1 Union types
|
H A D | union_types.test | 1 Union types
|
H A D | disjointNormalFormTypes.test | 1 Union types
|
/PHP-Parser/doc/component/ |
H A D | Constant_expression_evaluation.markdown | 26 // Either the expression contains unsupported expression types, 66 The constant expression evaluator supports all expression types that are permitted in constant 75 Handling these expression types requires non-local information, such as which global constants are 79 It is possible to override this behavior and support resolution for these expression types by
|
/PHP-Parser/test/code/parser/stmt/namespace/ |
H A D | name.test | 1 Different name types
|
H A D | mix.test | 1 Namespace types cannot be mixed
|
/PHP-Parser/ |
H A D | UPGRADE-4.0.md | 21 * `NullableType::$type` (for simple types) 22 * `Param::$type` (for simple types) 24 * `Expr\Closure::$returnType` (for simple types) 31 * `Stmt\ClassMethod::$returnType` (for simple types) 33 * `Stmt\Function_::$returnType` (for simple types)
|
H A D | CHANGELOG.md | 58 * Made some phpdoc types more precise. 137 versions. Property types have been added where possible. 277 * PHP 8.2: Added support for DNF types. 366 * Builder methods for types now property handle `never` type. 535 * Added support for passing union types in builders. 554 * [PHP 8.0] Added support for union types using a new `UnionType` node. 586 * Fixed resolution of return types for arrow functions. (#613) 960 * Fixed name resolution of nullable types. (#324) 961 * Fixed pretty-printing of nullable types. 1029 nullable types). [all …]
|
/PHP-Parser/test/code/parser/stmt/class/ |
H A D | typedConstants.test | 91 types: array(
|
/PHP-Parser/test/code/formatPreservation/ |
H A D | listInsertion.test | 52 $stmts[0]->catches[0]->types[] = new Node\Name('Bar'); 315 $stmts[0]->returnType->types[] = new Node\Name('C'); 325 $stmts[0]->returnType->types[] = new Node\Name('C');
|
H A D | listRemoval.test | 48 array_pop($stmts[0]->returnType->types);
|
/PHP-Parser/lib/PhpParser/NodeVisitor/ |
H A D | NameResolver.php | 140 foreach ($node->types as &$type) { 205 foreach ($node->types as &$type) {
|