// Copyright (C) 2022 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
// Qt-Security score:significant reason:build-tool

#ifndef TYPEDATABASE_P_H
#define TYPEDATABASE_P_H

#include "typesystem_typedefs.h"
#include "containertypeentry.h"

#include <QtCore/qhash.h>
#include <QtCore/qstring.h>

class TypeDatabase;

struct TypeDatabaseParserContext
{
    struct SmartPointerEntry
    {
        QString instantiations;
        QString excludedInstantiations;
    };

    using SmartPointerInstantiations = QHash<SmartPointerTypeEntryPtr, SmartPointerEntry>;
    using OpaqueContainerHash = QHash<QString, OpaqueContainers>;

    TypeDatabase *db;
    SmartPointerInstantiations smartPointerInstantiations;
    OpaqueContainerHash opaqueContainerHash;
};

#endif // TYPEDATABASE_P_H
