42 #ifndef QDECLARATIVEJSENGINE_P_H 43 #define QDECLARATIVEJSENGINE_P_H 56 #include "private/qdeclarativejsglobal_p.h" 57 #include "private/qdeclarativejsastfwd_p.h" 78 {
return _text == other.
_text; }
81 {
return _text != other.
_text; }
84 {
return _text < other.
_text; }
108 static int flagFromChar(
const QChar &);
109 static QString flagsToString(
int flags);
123 : kind(kind), loc(loc), message(message) {}
126 {
return kind == Warning; }
129 {
return kind ==
Error; }
149 void addComment(
int pos,
int len,
int line,
int col);
156 Lexer *lexer()
const;
157 void setLexer(
Lexer *lexer);
160 void setNodePool(
NodePool *nodePool);
167 #endif // QDECLARATIVEJSENGINE_P_H
const QString asString() const
DiagnosticMessage(Kind kind, const AST::SourceLocation &loc, const QString &message)
bool operator!=(QBool b1, bool b2)
The QString class provides a Unicode character string.
bool operator<(int priority, const QPair< QRunnable *, int > &p)
The QChar class provides a 16-bit Unicode character.
#define QML_PARSER_EXPORT
static QString toString(Register *reg, int type, bool *ok=0)
#define QT_QML_END_NAMESPACE
#define QT_QML_BEGIN_NAMESPACE
uint qHash(const QDeclarativeJS::NameId &id)
bool operator==(QBool b1, bool b2)
QList< QDeclarativeJS::AST::SourceLocation > _comments
NameId(const QChar *u, int s)