Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
qqmljstypereader_p.h
Go to the documentation of this file.
1
// Copyright (C) 2020 The Qt Company Ltd.
2
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
3
4
#ifndef QQMLJSTYPEREADER_P_H
5
#define QQMLJSTYPEREADER_P_H
6
7
//
8
// W A R N I N G
9
// -------------
10
//
11
// This file is not part of the Qt API. It exists purely as an
12
// implementation detail. This header file may change from version to
13
// version without notice, or even be removed.
14
//
15
// We mean it.
16
17
#include "
qqmljsscope_p.h
"
18
#include "
qqmljsimporter_p.h
"
19
#include "
qqmljsresourcefilemapper_p.h
"
20
21
#include <QtQml/private/qqmljsastfwd_p.h>
22
#include <QtQml/private/qqmljsdiagnosticmessage_p.h>
23
24
#include <QtCore/qpair.h>
25
#include <QtCore/qset.h>
26
27
QT_BEGIN_NAMESPACE
28
29
class
QQmlJSTypeReader
30
{
31
public
:
32
QQmlJSTypeReader
(
QQmlJSImporter
*importer,
const
QString
&
file
)
33
: m_importer(importer)
34
, m_file(
file
)
35
{}
36
37
bool
operator()
(
const
QSharedPointer<QQmlJSScope> &scope);
38
QList<QQmlJS::DiagnosticMessage>
errors
()
const
{
return
m_errors; }
39
40
private
:
41
QQmlJSImporter
*m_importer;
42
QString
m_file;
43
QStringList
m_qmldirFiles;
44
QList<QQmlJS::DiagnosticMessage> m_errors;
45
};
46
47
QT_END_NAMESPACE
48
49
#endif
// QQMLJSTYPEREADER_P_H
QQmlJSImporter
Definition
qqmljsimporter_p.h:68
QQmlJSTypeReader
Definition
qqmljstypereader_p.h:30
QQmlJSTypeReader::QQmlJSTypeReader
QQmlJSTypeReader(QQmlJSImporter *importer, const QString &file)
Definition
qqmljstypereader_p.h:32
QQmlJSTypeReader::operator()
bool operator()(const QSharedPointer< QQmlJSScope > &scope)
Definition
qqmljstypereader.cpp:18
QQmlJSTypeReader::errors
QList< QQmlJS::DiagnosticMessage > errors() const
Definition
qqmljstypereader_p.h:38
QStringList
\inmodule QtCore
QString
\macro QT_RESTRICTED_CAST_FROM_ASCII
Definition
qstring.h:129
QT_BEGIN_NAMESPACE
Combined button and popup list for selecting options.
Definition
qstandardpaths_haiku.cpp:21
QT_END_NAMESPACE
Definition
qsharedpointer.cpp:1590
qqmljsimporter_p.h
qqmljsresourcefilemapper_p.h
qqmljsscope_p.h
file
QFile file
[0]
Definition
src_corelib_io_qfile.cpp:5
qtdeclarative
src
qmlcompiler
qqmljstypereader_p.h
Generated by
1.10.0