Searched refs:NullableType (Results 1 – 14 of 14) sorted by relevance
/PHP-Parser/test/code/parser/stmt/function/ |
H A D | nullableTypes.test | 21 type: NullableType( 39 type: NullableType( 54 returnType: NullableType(
|
/PHP-Parser/test/PhpParser/Builder/ |
H A D | ParamTest.php | 100 if ($expectedType instanceof Node\NullableType) { 132 ['?array', new Node\NullableType(new Node\Identifier('array'))], 133 ['?Some\Class', new Node\NullableType(new Node\Name('Some\Class'))], 135 new Node\NullableType(new Node\Identifier('int')), 136 new Node\NullableType(new Node\Identifier('int')) 139 new Node\NullableType(new Node\Name('Some\Class')), 140 new Node\NullableType(new Node\Name('Some\Class'))
|
/PHP-Parser/lib/PhpParser/Node/ |
H A D | NullableType.php | 7 class NullableType extends ComplexType { class
|
/PHP-Parser/test/code/parser/stmt/class/ |
H A D | propertyTypes.test | 64 type: NullableType( 84 type: NullableType(
|
/PHP-Parser/lib/PhpParser/ |
H A D | BuilderHelpers.php | 10 use PhpParser\Node\NullableType; alias 211 return $nullable ? new NullableType($type) : $type;
|
/PHP-Parser/test/PhpParser/ |
H A D | BuilderHelpersTest.php | 141 $intNullable = new Node\NullableType(new Identifier('int')); 150 $expectedNullable = new Node\NullableType($intIdentifier);
|
/PHP-Parser/ |
H A D | UPGRADE-4.0.md | 21 * `NullableType::$type` (for simple types)
|
H A D | CHANGELOG.md | 322 a `ComplexType` parent class for `NullableType`, `UnionType` and `IntersectionType` has been 912 * Name resolution of `NullableType`s is now performed earlier, so that a fully resolved signature is 1054 * [7.1] Added support for nullable types. These are represented using a new `NullableType` node
|
H A D | UPGRADE-5.0.md | 317 * The `$type` argument of `Node\NullableType`.
|
/PHP-Parser/lib/PhpParser/NodeVisitor/ |
H A D | NameResolver.php | 200 if ($node instanceof Node\NullableType) {
|
/PHP-Parser/grammar/ |
H A D | php.y | 701 | '?' type { $$ = Node\NullableType[$2]; } 760 | '?' type_without_static { $$ = Node\NullableType[$2]; }
|
/PHP-Parser/lib/PhpParser/PrettyPrinter/ |
H A D | Standard.php | 44 protected function pNullableType(Node\NullableType $node): string {
|
/PHP-Parser/lib/PhpParser/Parser/ |
H A D | Php7.php | 1857 …$self->semValue = new Node\NullableType($self->semStack[$stackPos-(2-2)], $self->getAttributes($se… 1916 …$self->semValue = new Node\NullableType($self->semStack[$stackPos-(2-2)], $self->getAttributes($se…
|
H A D | Php8.php | 1852 …$self->semValue = new Node\NullableType($self->semStack[$stackPos-(2-2)], $self->getAttributes($se… 1911 …$self->semValue = new Node\NullableType($self->semStack[$stackPos-(2-2)], $self->getAttributes($se…
|
Completed in 60 milliseconds