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>.
|
#include <qqmljslogger_p.h>
Public Member Functions | |
IssueLocationWithContext (QStringView code, const QQmlJS::SourceLocation &location) | |
QStringView | beforeText () const |
QStringView | issueText () const |
QStringView | afterText () const |
Used to print the line containing the location of a certain error
Definition at line 40 of file qqmljslogger_p.h.
|
inline |
code | The whole text of a translation unit |
location | The location where an error occurred. |
Definition at line 48 of file qqmljslogger_p.h.
References QString::indexOf(), QString::lastIndexOf(), QString::mid(), and qMax().
|
inline |
Definition at line 66 of file qqmljslogger_p.h.
|
inline |
Definition at line 62 of file qqmljslogger_p.h.
|
inline |
Definition at line 64 of file qqmljslogger_p.h.