Home
last modified time | relevance | path

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

/PHP-Parser/test/code/parser/stmt/function/
H A DunionTypes.test27 type: UnionType(
65 type: UnionType(
85 returnType: UnionType(
H A DdisjointNormalFormTypes.test28 type: UnionType(
67 type: UnionType(
109 type: UnionType(
143 returnType: UnionType(
H A Dexit_die_function.test22 type: UnionType(
62 type: 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/test/PhpParser/
H A DBuilderHelpersTest.php144 … $unionType = new Node\UnionType([new Node\Identifier('int'), new Node\Identifier('string')]);
/PHP-Parser/lib/PhpParser/NodeVisitor/
H A DNameResolver.php204 if ($node instanceof Node\UnionType || $node instanceof Node\IntersectionType) {
/PHP-Parser/lib/PhpParser/
H A DPrettyPrinterAbstract.php20 use PhpParser\Node\UnionType; alias
1509 UnionType::class . '->types' => '|',
/PHP-Parser/grammar/
H A Dphp.y702 | union_type { $$ = Node\UnionType[$1]; }
761 | union_type_without_static { $$ = Node\UnionType[$1]; }
/PHP-Parser/
H A DCHANGELOG.md322 a `ComplexType` parent class for `NullableType`, `UnionType` and `IntersectionType` has been
554 * [PHP 8.0] Added support for union types using a new `UnionType` node.
/PHP-Parser/lib/PhpParser/PrettyPrinter/
H A DStandard.php48 protected function pUnionType(Node\UnionType $node): string {
/PHP-Parser/lib/PhpParser/Parser/
H A DPhp7.php1860 …$self->semValue = new Node\UnionType($self->semStack[$stackPos-(1-1)], $self->getAttributes($self-…
1919 …$self->semValue = new Node\UnionType($self->semStack[$stackPos-(1-1)], $self->getAttributes($self-…
H A DPhp8.php1855 …$self->semValue = new Node\UnionType($self->semStack[$stackPos-(1-1)], $self->getAttributes($self-…
1914 …$self->semValue = new Node\UnionType($self->semStack[$stackPos-(1-1)], $self->getAttributes($self-…

Completed in 64 milliseconds