Home
last modified time | relevance | path

Searched refs:UnionType (Results 1 – 13 of 13) sorted by relevance

/PHP-Parser/test/code/parser/stmt/function/
H A DunionTypes.test27 type: UnionType(
63 type: UnionType(
81 returnType: UnionType(
H A DdisjointNormalFormTypes.test28 type: UnionType(
65 type: UnionType(
105 type: UnionType(
137 returnType: UnionType(
/PHP-Parser/lib/PhpParser/Node/
H A DUnionType.php5 class UnionType extends ComplexType { class
/PHP-Parser/test/PhpParser/Builder/
H A DParamTest.php148 new Node\UnionType([
152 new Node\UnionType([
158 new Node\UnionType([
163 new Node\UnionType([
/PHP-Parser/test/code/parser/stmt/class/
H A DtypedConstants.test90 type: UnionType(
/PHP-Parser/lib/PhpParser/NodeVisitor/
H A DNameResolver.php198 if ($node instanceof Node\UnionType || $node instanceof Node\IntersectionType) {
/PHP-Parser/test/PhpParser/
H A DBuilderHelpersTest.php143 … $unionType = new Node\UnionType([new Node\Identifier('int'), new Node\Identifier('string')]);
/PHP-Parser/lib/PhpParser/
H A DPrettyPrinterAbstract.php19 use PhpParser\Node\UnionType; alias
1478 UnionType::class . '->types' => '|',
/PHP-Parser/grammar/
H A Dphp.y694 | union_type { $$ = Node\UnionType[$1]; }
753 | union_type_without_static { $$ = Node\UnionType[$1]; }
/PHP-Parser/
H A DCHANGELOG.md270 a `ComplexType` parent class for `NullableType`, `UnionType` and `IntersectionType` has been
502 * [PHP 8.0] Added support for union types using a new `UnionType` node.
/PHP-Parser/lib/PhpParser/PrettyPrinter/
H A DStandard.php47 protected function pUnionType(Node\UnionType $node): string {
/PHP-Parser/lib/PhpParser/Parser/
H A DPhp7.php1848 …$self->semValue = new Node\UnionType($self->semStack[$stackPos-(1-1)], $self->getAttributes($self-…
1907 …$self->semValue = new Node\UnionType($self->semStack[$stackPos-(1-1)], $self->getAttributes($self-…
H A DPhp8.php1842 …$self->semValue = new Node\UnionType($self->semStack[$stackPos-(1-1)], $self->getAttributes($self-…
1901 …$self->semValue = new Node\UnionType($self->semStack[$stackPos-(1-1)], $self->getAttributes($self-…

Completed in 66 milliseconds