Home
last modified time | relevance | path

Searched refs:NullableType (Results 1 – 14 of 14) sorted by relevance

/PHP-Parser/test/code/parser/stmt/function/
H A DnullableTypes.test21 type: NullableType(
39 type: NullableType(
54 returnType: NullableType(
/PHP-Parser/test/PhpParser/Builder/
H A DParamTest.php100 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 DNullableType.php7 class NullableType extends ComplexType { class
/PHP-Parser/test/code/parser/stmt/class/
H A DpropertyTypes.test64 type: NullableType(
84 type: NullableType(
/PHP-Parser/lib/PhpParser/
H A DBuilderHelpers.php10 use PhpParser\Node\NullableType; alias
211 return $nullable ? new NullableType($type) : $type;
/PHP-Parser/test/PhpParser/
H A DBuilderHelpersTest.php141 $intNullable = new Node\NullableType(new Identifier('int'));
150 $expectedNullable = new Node\NullableType($intIdentifier);
/PHP-Parser/
H A DUPGRADE-4.0.md21 * `NullableType::$type` (for simple types)
H A DCHANGELOG.md299 a `ComplexType` parent class for `NullableType`, `UnionType` and `IntersectionType` has been
889 * Name resolution of `NullableType`s is now performed earlier, so that a fully resolved signature is
1031 * [7.1] Added support for nullable types. These are represented using a new `NullableType` node
H A DUPGRADE-5.0.md317 * The `$type` argument of `Node\NullableType`.
/PHP-Parser/lib/PhpParser/NodeVisitor/
H A DNameResolver.php200 if ($node instanceof Node\NullableType) {
/PHP-Parser/grammar/
H A Dphp.y700 | '?' type { $$ = Node\NullableType[$2]; }
759 | '?' type_without_static { $$ = Node\NullableType[$2]; }
/PHP-Parser/lib/PhpParser/PrettyPrinter/
H A DStandard.php44 protected function pNullableType(Node\NullableType $node): string {
/PHP-Parser/lib/PhpParser/Parser/
H A DPhp8.php1857 …$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 DPhp7.php1848 …$self->semValue = new Node\NullableType($self->semStack[$stackPos-(2-2)], $self->getAttributes($se…
1907 …$self->semValue = new Node\NullableType($self->semStack[$stackPos-(2-2)], $self->getAttributes($se…

Completed in 58 milliseconds