24 #ifndef QSCRIPTLEXER_P_H 25 #define QSCRIPTLEXER_P_H 38 #include <QtCore/QString> 43 class QScriptNameIdImpl;
void setErrorMessage(const char *err)
void syncProhibitAutomaticSemicolon()
int lookupKeyword(const char *)
#define QT_END_NAMESPACE
This macro expands to.
bool isLineTerminator() const
QScriptEnginePrivate * driver
bool isWhiteSpace() const
int characterCount() const
bool isHexDigit(ushort c) const
The QString class provides a Unicode character string.
The QChar class provides a 16-bit Unicode character.
static bool isIdentLetter(ushort c)
bool isOctalDigit(ushort c) const
QScriptNameIdImpl * ustr() const
#define QT_BEGIN_NAMESPACE
This macro expands to.
int matchPunctuator(ushort c1, ushort c2, ushort c3, ushort c4)
QString errorMessage() const
int currentColumnNo() const
Lexer(QScriptEnginePrivate *eng)
QScriptNameIdImpl * pattern
union QScript::Lexer::@359 qsyylval
bool scanRegExp(RegExpBodyPrefix prefix=NoPrefix)
void setErrorMessage(const QString &err)
The State element defines configurations of objects and properties.
int currentLineNo() const
bool prevTerminator() const
static unsigned char convertHex(ushort c1)
static QString fromLatin1(const char *, int size=-1)
Returns a QString initialized with the first size characters of the Latin-1 string str...
int findReservedWord(const QChar *buffer, int size) const
const QChar * characterBuffer() const
static bool isDecimalDigit(ushort c)
ushort convertOctal(ushort c1, ushort c2, ushort c3) const
ParenthesesState parenthesesState
bool prohibitAutomaticSemicolon
void setCode(const QString &c, int lineno)
static QChar convertUnicode(ushort c1, ushort c2, ushort c3, ushort c4)
int startColumnNo() const
ushort singleEscape(ushort c) const