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
QQmlJS::DiagnosticMessage Struct Reference

#include <qqmljsdiagnosticmessage_p.h>

+ Inheritance diagram for QQmlJS::DiagnosticMessage:
+ Collaboration diagram for QQmlJS::DiagnosticMessage:

Public Member Functions

bool isError () const
 
bool isWarning () const
 
bool isValid () const
 

Public Attributes

QString message
 
QtMsgType type = QtCriticalMsg
 
SourceLocation loc
 

Detailed Description

Definition at line 29 of file qqmljsdiagnosticmessage_p.h.

Member Function Documentation

◆ isError()

bool QQmlJS::DiagnosticMessage::isError ( ) const
inline

Definition at line 35 of file qqmljsdiagnosticmessage_p.h.

References QtCriticalMsg.

Referenced by QQmlJSTypePropagator::endInstruction().

+ Here is the caller graph for this function:

◆ isValid()

bool QQmlJS::DiagnosticMessage::isValid ( ) const
inline

Definition at line 45 of file qqmljsdiagnosticmessage_p.h.

Referenced by QQmlJSTypePropagator::endInstruction(), QQmlJSCodeGenerator::generate_Construct(), QQmlJSCodeGenerator::generate_DefineArray(), QQmlJSCodeGenerator::generate_Exp(), QQmlJSCodeGenerator::generate_Mod(), QQmlJSCompilePass::setError(), and QQmlJSTypePropagator::startInstruction().

+ Here is the caller graph for this function:

◆ isWarning()

bool QQmlJS::DiagnosticMessage::isWarning ( ) const
inline

Definition at line 40 of file qqmljsdiagnosticmessage_p.h.

References QtWarningMsg.

Member Data Documentation

◆ loc

SourceLocation QQmlJS::DiagnosticMessage::loc

◆ message

QString QQmlJS::DiagnosticMessage::message

◆ type

QtMsgType QQmlJS::DiagnosticMessage::type = QtCriticalMsg

Definition at line 32 of file qqmljsdiagnosticmessage_p.h.


The documentation for this struct was generated from the following file: