Home
last modified time | relevance | path

Searched refs:IntersectionType (Results 1 – 12 of 12) sorted by relevance

/PHP-Parser/test/code/parser/stmt/function/
H A DdisjointNormalFormTypes.test30 0: IntersectionType(
40 1: IntersectionType(
69 0: IntersectionType(
111 0: IntersectionType(
121 1: IntersectionType(
145 0: IntersectionType(
155 1: IntersectionType(
H A DintersectionTypes.test27 type: IntersectionType(
62 type: IntersectionType(
82 returnType: IntersectionType(
/PHP-Parser/lib/PhpParser/Node/
H A DUnionType.php6 /** @var (Identifier|Name|IntersectionType)[] Types */
12 * @param (Identifier|Name|IntersectionType)[] $types Types
H A DIntersectionType.php5 class IntersectionType extends ComplexType { class
/PHP-Parser/test/PhpParser/
H A DBuilderHelpersTest.php147 $intersectionType = new Node\IntersectionType([new Node\Name('A'), new Node\Name('B')]);
/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.php14 use PhpParser\Node\IntersectionType; alias
1510 IntersectionType::class . '->types' => '&',
/PHP-Parser/grammar/
H A Dphp.y744 intersection_type_list { $$ = Node\IntersectionType[$1]; }
755 intersection_type_without_static_list { $$ = Node\IntersectionType[$1]; }
/PHP-Parser/lib/PhpParser/PrettyPrinter/
H A DStandard.php51 if ($typeNode instanceof Node\IntersectionType) {
60 protected function pIntersectionType(Node\IntersectionType $node): string {
/PHP-Parser/
H A DCHANGELOG.md321 * [PHP 8.1] Added support for intersection types using a new `IntersectionType` node. Additionally
322 a `ComplexType` parent class for `NullableType`, `UnionType` and `IntersectionType` has been
/PHP-Parser/lib/PhpParser/Parser/
H A DPhp7.php1903 …$self->semValue = new Node\IntersectionType($self->semStack[$stackPos-(1-1)], $self->getAttributes…
1912 …$self->semValue = new Node\IntersectionType($self->semStack[$stackPos-(1-1)], $self->getAttributes…
H A DPhp8.php1898 …$self->semValue = new Node\IntersectionType($self->semStack[$stackPos-(1-1)], $self->getAttributes…
1907 …$self->semValue = new Node\IntersectionType($self->semStack[$stackPos-(1-1)], $self->getAttributes…

Completed in 59 milliseconds