Qt 6.x
The Qt SDK
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.

◆ isValid()

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

Definition at line 45 of file qqmljsdiagnosticmessage_p.h.

Referenced by QQmlJSLinterCodegen::compileBinding(), QQmlJSLinterCodegen::compileFunction(), QQmlJSTypePropagator::endInstruction(), 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

◆ message

◆ type

QtMsgType QQmlJS::DiagnosticMessage::type = QtCriticalMsg

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