core::TypePtr DataItem::toDataItemType(const core::TypePtr& type) { core::IRBuilder builder(type->getNodeManager()); return builder.genericType(DATA_ITEM_TYPE_NAME, toVector(type)); }
const core::TypePtr getListType(const core::TypePtr& elementType) { IRBuilder builder(elementType->getNodeManager()); return builder.genericType(ListExtension::LIST_TYPE_NAME, toVector(elementType)); }