![]() |
Qt 6.x
The Qt SDK
|
Represents a set of tags grouping a set of related error messages. More...
#include <qqmldomerrormessage_p.h>
Collaboration diagram for QQmlJS::Dom::ErrorGroups:Public Member Functions | |
| void | dump (Sink sink) const |
| void | dumpId (Sink sink) const |
| QCborArray | toCbor () const |
| ErrorMessage | errorMessage (Dumper msg, ErrorLevel level, Path element=Path(), QString canonicalFilePath=QString(), SourceLocation location=SourceLocation()) const |
| ErrorMessage | errorMessage (const DiagnosticMessage &msg, Path element=Path(), QString canonicalFilePath=QString()) const |
| void | fatal (Dumper msg, Path element=Path(), QStringView canonicalFilePath=u"", SourceLocation location=SourceLocation()) const |
| ErrorMessage | debug (QString message) const |
| ErrorMessage | debug (Dumper message) const |
| ErrorMessage | info (QString message) const |
| ErrorMessage | info (Dumper message) const |
| ErrorMessage | warning (QString message) const |
| ErrorMessage | warning (Dumper message) const |
| ErrorMessage | error (QString message) const |
| ErrorMessage | error (Dumper message) const |
Static Public Member Functions | |
| static int | cmp (const ErrorGroups &g1, const ErrorGroups &g2) |
Public Attributes | |
| QVector< ErrorGroup > | groups |
Represents a set of tags grouping a set of related error messages.
The simplest way to create new ErrorMessages is to have an ErrorGroups instance, and use it to create new ErrorMessages using its debug, warning, error,... methods
Definition at line 63 of file qqmldomerrormessage_p.h.
|
static |
Definition at line 235 of file qqmldomerrormessage.cpp.
Referenced by QQmlJS::Dom::operator!=(), QQmlJS::Dom::operator<(), QQmlJS::Dom::operator<=(), QQmlJS::Dom::operator==(), QQmlJS::Dom::operator>(), and QQmlJS::Dom::operator>=().
Here is the caller graph for this function:| ErrorMessage QQmlJS::Dom::ErrorGroups::debug | ( | Dumper | message | ) | const |
Definition at line 200 of file qqmldomerrormessage.cpp.
References QQmlJS::Dom::Debug, and QQmlJS::Dom::dumperToString().
Here is the call graph for this function:| ErrorMessage QQmlJS::Dom::ErrorGroups::debug | ( | QString | message | ) | const |
Definition at line 195 of file qqmldomerrormessage.cpp.
References QQmlJS::Dom::Debug.
Referenced by QQmlJS::Dom::ErrorMessage::msg().
Here is the caller graph for this function:Definition at line 73 of file qqmldomerrormessage.cpp.
References i.
Referenced by QQmlJS::Dom::ErrorMessage::dump(), and fatal().
Here is the caller graph for this function:Definition at line 79 of file qqmldomerrormessage.cpp.
References i.
| ErrorMessage QQmlJS::Dom::ErrorGroups::error | ( | Dumper | message | ) | const |
Definition at line 230 of file qqmldomerrormessage.cpp.
References QQmlJS::Dom::dumperToString(), and QQmlJS::Dom::Error.
Here is the call graph for this function:| ErrorMessage QQmlJS::Dom::ErrorGroups::error | ( | QString | message | ) | const |
Definition at line 225 of file qqmldomerrormessage.cpp.
References QQmlJS::Dom::Error.
Referenced by QQmlJS::Dom::DomUniverse::execQueue(), QQmlJS::Dom::ModuleIndex::exportsWithNameAndMinorVersion(), QQmlJS::Dom::Path::fromString(), QQmlJS::Dom::ErrorMessage::load(), QQmlJS::Dom::DomUniverse::loadFile(), QQmlJS::Dom::DomEnvironment::loadPendingDependencies(), QQmlJS::Dom::Paths::moduleIndexPath(), and QQmlJS::Dom::Paths::moduleScopePath().
Here is the caller graph for this function:| ErrorMessage QQmlJS::Dom::ErrorGroups::errorMessage | ( | const DiagnosticMessage & | msg, |
| Path | element = Path(), |
||
| QString | canonicalFilePath = QString() |
||
| ) | const |
Definition at line 148 of file qqmldomerrormessage.cpp.
| ErrorMessage QQmlJS::Dom::ErrorGroups::errorMessage | ( | Dumper | msg, |
| ErrorLevel | level, | ||
| Path | element = Path(), |
||
| QString | canonicalFilePath = QString(), |
||
| SourceLocation | location = SourceLocation() |
||
| ) | const |
Definition at line 141 of file qqmldomerrormessage.cpp.
References QQmlJS::Dom::dumperToString(), QQmlJS::Dom::Fatal, and fatal().
Referenced by QQmlJS::Dom::QmlFile::QmlFile().
Here is the call graph for this function:
Here is the caller graph for this function:| void QQmlJS::Dom::ErrorGroups::fatal | ( | Dumper | msg, |
| Path | element = Path(), |
||
| QStringView | canonicalFilePath = u"", |
||
| SourceLocation | location = SourceLocation() |
||
| ) | const |
Definition at line 159 of file qqmldomerrormessage.cpp.
References dump(), QQmlJS::Dom::Path::dump(), QQmlJS::Dom::FatalMsgMaxLen, QChar::fromLatin1(), QStringView::isEmpty(), QQmlJS::Dom::Path::length(), qFatal, QQmlJS::Dom::sinkInt(), and QChar::toLatin1().
Referenced by QQmlJS::Dom::ErrorMessage::ErrorMessage(), QQmlJS::Dom::ErrorMessage::ErrorMessage(), and errorMessage().
Here is the call graph for this function:
Here is the caller graph for this function:| ErrorMessage QQmlJS::Dom::ErrorGroups::info | ( | Dumper | message | ) | const |
Definition at line 210 of file qqmldomerrormessage.cpp.
References QQmlJS::Dom::dumperToString(), and QQmlJS::Dom::Info.
Here is the call graph for this function:| ErrorMessage QQmlJS::Dom::ErrorGroups::info | ( | QString | message | ) | const |
Definition at line 205 of file qqmldomerrormessage.cpp.
References QQmlJS::Dom::Info.
Referenced by QQmlJS::Dom::Path::fromString().
Here is the caller graph for this function:| QCborArray QQmlJS::Dom::ErrorGroups::toCbor | ( | ) | const |
Definition at line 85 of file qqmldomerrormessage.cpp.
References i.
Referenced by QQmlJS::Dom::ErrorMessage::toCbor().
Here is the caller graph for this function:| ErrorMessage QQmlJS::Dom::ErrorGroups::warning | ( | Dumper | message | ) | const |
Definition at line 220 of file qqmldomerrormessage.cpp.
References QQmlJS::Dom::dumperToString(), and QQmlJS::Dom::Warning.
Here is the call graph for this function:| ErrorMessage QQmlJS::Dom::ErrorGroups::warning | ( | QString | message | ) | const |
Definition at line 215 of file qqmldomerrormessage.cpp.
References QQmlJS::Dom::Warning.
Referenced by QQmlJS::Dom::LoadInfo::doCopy(), QQmlJS::Dom::Path::fromString(), QQmlJS::Dom::ImportScope::importedExportsWithName(), and QQmlJS::Dom::ImportScope::importedItemsWithName().
Here is the caller graph for this function:| QVector<ErrorGroup> QQmlJS::Dom::ErrorGroups::groups |
Definition at line 86 of file qqmldomerrormessage_p.h.
Referenced by cmp().