Searched refs:intersectionType (Results 1 – 3 of 3) sorted by relevance
1224 auto *intersectionType = AllocNode<ir::TSIntersectionType>(std::move(types)); in ParseIntersectionType() local1226 …rbinder::Scope::CreateVar(Allocator(), "__type", varbinder::VariableFlags::TYPE, intersectionType); in ParseIntersectionType()1227 intersectionType->SetVariable(typeVar); in ParseIntersectionType()1228 intersectionType->SetRange({startLoc, endLoc}); in ParseIntersectionType()1230 return intersectionType; in ParseIntersectionType()
2686 auto *intersectionType = AllocNode<ir::TSIntersectionType>(std::move(types)); in ParseIntersectionType() local2687 intersectionType->SetRange({startLoc, endLoc}); in ParseIntersectionType()2688 return intersectionType; in ParseIntersectionType()
1772 auto *intersectionType = AllocNode<ir::TSIntersectionType>(std::move(types)); in ParseTsIntersectionType() local1773 …r = binder::Scope::CreateVar(Allocator(), "__type", binder::VariableFlags::TYPE, intersectionType); in ParseTsIntersectionType()1774 intersectionType->SetVariable(typeVar); in ParseTsIntersectionType()1775 intersectionType->SetRange({startLoc, endLoc}); in ParseTsIntersectionType()1777 return intersectionType; in ParseTsIntersectionType()