Home
last modified time | relevance | path

Searched refs:types (Results 1 – 25 of 31) sorted by relevance

12

/PHP-Parser/lib/PhpParser/Node/
H A DIntersectionType.php7 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 DUnionType.php7 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 DdisjointNormalFormTypes.test1 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 DintersectionTypes.test1 Union types
28 types: array(
63 types: array(
83 types: array(
H A DunionTypes.test1 Union types
28 types: array(
66 types: array(
86 types: array(
H A Dexit_die_function.test23 types: array(
63 types: array(
H A DnullableTypes.test1 Nullable types
H A DnullFalseTrueTypes.test1 standalone null, false and true types
/PHP-Parser/lib/PhpParser/Node/Stmt/
H A DCatch_.php10 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 DtryCatch.test39 types: array(
60 types: array(
100 types: array(
H A DmultiCatch.test23 types: array(
43 types: array(
H A DtryCatch_without_variable.test17 types: array(
/PHP-Parser/test/code/prettyPrinter/stmt/
H A Dnullable_types.test1 Nullable types
H A Dintersection_types.test1 Union types
H A Dunion_types.test1 Union types
H A DdisjointNormalFormTypes.test1 Union types
/PHP-Parser/doc/component/
H A DConstant_expression_evaluation.markdown26 // 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 Dname.test1 Different name types
H A Dmix.test1 Namespace types cannot be mixed
/PHP-Parser/
H A DUPGRADE-4.0.md21 * `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 DCHANGELOG.md58 * 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 DtypedConstants.test91 types: array(
/PHP-Parser/test/code/formatPreservation/
H A DlistInsertion.test52 $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 DlistRemoval.test48 array_pop($stmts[0]->returnType->types);
/PHP-Parser/lib/PhpParser/NodeVisitor/
H A DNameResolver.php140 foreach ($node->types as &$type) {
205 foreach ($node->types as &$type) {

Completed in 24 milliseconds

12