Home
last modified time | relevance | path

Searched refs:intersectionType (Results 1 – 3 of 3) sorted by relevance

/arkcompiler/ets_frontend/ets2panda/parser/
DTSparser.cpp1224 auto *intersectionType = AllocNode<ir::TSIntersectionType>(std::move(types)); in ParseIntersectionType() local
1226 …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()
DETSparser.cpp2686 auto *intersectionType = AllocNode<ir::TSIntersectionType>(std::move(types)); in ParseIntersectionType() local
2687 intersectionType->SetRange({startLoc, endLoc}); in ParseIntersectionType()
2688 return intersectionType; in ParseIntersectionType()
/arkcompiler/ets_frontend/es2panda/parser/
DparserImpl.cpp1772 auto *intersectionType = AllocNode<ir::TSIntersectionType>(std::move(types)); in ParseTsIntersectionType() local
1773 …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()