Qt 4.8
Public Types | Public Functions | Public Variables | List of all members
QDeclarativeJS::DiagnosticMessage Class Reference

#include <qdeclarativejsengine_p.h>

Public Types

enum  Kind { Warning, Error }
 

Public Functions

 DiagnosticMessage ()
 
 DiagnosticMessage (Kind kind, const AST::SourceLocation &loc, const QString &message)
 
bool isError () const
 
bool isWarning () const
 

Public Variables

Kind kind
 
AST::SourceLocation loc
 
QString message
 

Detailed Description

Definition at line 114 of file qdeclarativejsengine_p.h.

Enumerations

◆ Kind

Constructors and Destructors

◆ DiagnosticMessage() [1/2]

QDeclarativeJS::DiagnosticMessage::DiagnosticMessage ( )
inline

◆ DiagnosticMessage() [2/2]

QDeclarativeJS::DiagnosticMessage::DiagnosticMessage ( Kind  kind,
const AST::SourceLocation loc,
const QString message 
)
inline

Functions

◆ isError()

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

◆ isWarning()

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

Properties

◆ kind

Kind QDeclarativeJS::DiagnosticMessage::kind

Definition at line 131 of file qdeclarativejsengine_p.h.

Referenced by QDeclarativeJS::Parser::diagnosticMessage().

◆ loc

AST::SourceLocation QDeclarativeJS::DiagnosticMessage::loc

Definition at line 132 of file qdeclarativejsengine_p.h.

Referenced by QDeclarativeScriptParser::parse().

◆ message

QString QDeclarativeJS::DiagnosticMessage::message

Definition at line 133 of file qdeclarativejsengine_p.h.

Referenced by QDeclarativeScriptParser::parse().


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