4#ifndef QQMLDOMSCANNER_P_H
5#define QQMLDOMSCANNER_P_H
23#include <QtQml/private/qqmljslexer_p.h>
24#include <QtQml/private/qqmljsgrammar_p.h>
35 static bool lexKindIsDelimiter(
int kind);
36 static bool lexKindIsJSKeyword(
int kind);
37 static bool lexKindIsIdentifier(
int kind);
38 static bool lexKindIsStringType(
int kind);
39 static bool lexKindIsInvalid(
int kind);
40 static bool lexKindIsQmlReserved(
int kind);
41 static bool lexKindIsComment(
int kind);
55 if (
int c =
t1.offset -
t2.offset)
57 if (
int c =
t1.length -
t2.length)
59 return int(
t1.lexKind) - int(
t2.lexKind);
64 int lexKind = QQmlJSGrammar::T_NONE;
82 bool regexpMightFollow =
true;
83 bool isMultiline()
const;
84 bool isMultilineComment()
const;
QString toString(QStringView line=QStringView()) const
Token(int o, int l, int lexKind)
static int compare(const Token &t1, const Token &t2)
\macro QT_RESTRICTED_CAST_FROM_ASCII
bool operator!=(const Version &v1, const Version &v2)
bool operator==(const Version &v1, const Version &v2)
QString dumperToString(Dumper writer)
Converts a dumper to a string.
Combined button and popup list for selecting options.
GLenum GLuint GLenum GLsizei length
GLuint GLfloat GLfloat GLfloat GLfloat GLfloat GLfloat GLfloat GLfloat GLfloat t1
[4]
GLenum GLuint GLintptr offset
static QString dump(const QByteArray &)