22#include <QtQml/private/qqmljsast_p.h>
23#include <QtCore/QCoreApplication>
24#include <QtCore/QString>
25#include <QtCore/QCborArray>
26#include <QtCore/QCborMap>
27#include <QtCore/QLoggingCategory>
28#include <QtQml/private/qqmljsdiagnosticmessage_p.h>
43#define NewErrorGroup(name) QQmlJS::Dom::ErrorGroup(QT_TRANSLATE_NOOP("ErrorGroup", name))
60 const char *m_groupId;
107 template<
typename... T>
\inmodule QtCore\reentrant
\inmodule QtCore\reentrant
constexpr bool isEmpty() const noexcept
int compare(QStringView other, Qt::CaseSensitivity cs=Qt::CaseSensitive) const noexcept
A Sink is a function that accepts a QStringView as input.
convenience macro creating a new ErrorGroup and registering its groupId as translatable string
constexpr ErrorGroup(const char *groupId)
Represents a set of tags grouping a set of related error messages.
QVector< ErrorGroup > groups
static int cmp(const ErrorGroups &g1, const ErrorGroups &g2)
Represents an error message connected to the dom.
static ErrorMessage load(QLatin1String errorId, T... args)
friend int compare(const ErrorMessage &msg1, const ErrorMessage &msg2)
\macro QT_RESTRICTED_CAST_FROM_ASCII
int compare(const QString &s, Qt::CaseSensitivity cs=Qt::CaseSensitive) const noexcept
std::function< void(const ErrorMessage &)> ErrorHandler
bool operator!=(const Version &v1, const Version &v2)
void silentError(const ErrorMessage &)
Error handler that ignores all errors (excluding fatal ones)
void errorToQDebug(const ErrorMessage &error)
writes an ErrorMessage to QDebug
ErrorLevel errorLevelFromQtMsgType(QtMsgType msgType)
void defaultErrorHandler(const ErrorMessage &error)
Calls the default error handler (by default errorToQDebug)
bool operator>(const Version &v1, const Version &v2)
bool operator>=(const Version &v1, const Version &v2)
void setDefaultErrorHandler(ErrorHandler h)
Sets the default error handler.
bool operator==(const Version &v1, const Version &v2)
bool operator<=(const Version &v1, const Version &v2)
bool operator<(const Version &v1, const Version &v2)
Combined button and popup list for selecting options.
#define Q_DECLARE_TR_FUNCTIONS(context)
DBusConnection const char DBusError * error
#define Q_DECLARE_LOGGING_CATEGORY(name)
GLuint64 GLenum void * handle
GLenum GLuint GLint level
GLuint GLsizei const GLchar * message
GLfloat GLfloat GLfloat GLfloat h
GLsizei const GLchar *const * path
GLsizei GLenum GLboolean sink
static QString dump(const QByteArray &)
QLatin1StringView QLatin1String
static int compare(quint64 a, quint64 b)
static QString errorMessage(QUrlPrivate::ErrorCode errorCode, const QString &errorSource, qsizetype errorPosition)
QFileInfo info(fileName)
[8]
char * toString(const MyType &t)
[31]