#include <qqmljslexer_p.h>
|
enum | Error {
NoError
, IllegalCharacter
, IllegalNumber
, UnclosedStringLiteral
,
IllegalEscapeSequence
, IllegalUnicodeEscapeSequence
, UnclosedComment
, IllegalExponentIndicator
,
IllegalIdentifier
, IllegalHexadecimalEscapeSequence
} |
enum | RegExpBodyPrefix { NoPrefix
, EqualPrefix
} |
enum | RegExpFlag {
RegExp_Global = 0x01
, RegExp_IgnoreCase = 0x02
, RegExp_Multiline = 0x04
, RegExp_Unicode = 0x08
,
RegExp_Sticky = 0x10
} |
enum | ParseModeFlags { QmlMode = 0x1
, YieldIsKeyword = 0x2
, StaticIsKeyword = 0x4
} |
enum class | ImportState { SawImport
, NoQmlImport
} |
enum class | LexMode { WholeCode
, LineByLine
} |
enum class | CodeContinuation { Reset
, Continue
} |
enum | ParenthesesState { IgnoreParentheses
, CountParentheses
, BalancedParentheses
} |
enum class | CommentState { NoComment
, HadComment
, InMultilineComment
} |
Definition at line 35 of file qqmljslexer_p.h.
◆ CodeContinuation
◆ CommentState
Enumerator |
---|
NoComment | |
HadComment | |
InMultilineComment | |
Definition at line 123 of file qqmljslexer_p.h.
◆ Error
Enumerator |
---|
NoError | |
IllegalCharacter | |
IllegalNumber | |
UnclosedStringLiteral | |
IllegalEscapeSequence | |
IllegalUnicodeEscapeSequence | |
UnclosedComment | |
IllegalExponentIndicator | |
IllegalIdentifier | |
IllegalHexadecimalEscapeSequence | |
Definition at line 38 of file qqmljslexer_p.h.
◆ ImportState
◆ LexMode
◆ ParenthesesState
Enumerator |
---|
IgnoreParentheses | |
CountParentheses | |
BalancedParentheses | |
Definition at line 117 of file qqmljslexer_p.h.
◆ ParseModeFlags
Enumerator |
---|
QmlMode | |
YieldIsKeyword | |
StaticIsKeyword | |
Definition at line 64 of file qqmljslexer_p.h.
◆ RegExpBodyPrefix
◆ RegExpFlag
Enumerator |
---|
RegExp_Global | |
RegExp_IgnoreCase | |
RegExp_Multiline | |
RegExp_Unicode | |
RegExp_Sticky | |
Definition at line 56 of file qqmljslexer_p.h.
◆ Lexer()
◆ canInsertAutomaticSemicolon()
bool Lexer::canInsertAutomaticSemicolon |
( |
int | token | ) |
const |
◆ classify()
int QQmlJS::Lexer::classify |
( |
QStringView | s, |
|
|
int | parseModeFlags ) |
|
staticprotected |
◆ code()
◆ enterGeneratorBody()
void QQmlJS::Lexer::enterGeneratorBody |
( |
| ) |
|
|
inline |
◆ errorCode()
◆ errorMessage()
QString Lexer::errorMessage |
( |
| ) |
const |
◆ illegalFileLengthError()
◆ leaveGeneratorBody()
void QQmlJS::Lexer::leaveGeneratorBody |
( |
| ) |
|
|
inline |
◆ lex()
◆ qmlMode()
bool Lexer::qmlMode |
( |
| ) |
const |
◆ rawString()
◆ regExpFlags()
int QQmlJS::Lexer::regExpFlags |
( |
| ) |
const |
|
inline |
◆ regExpPattern()
QString QQmlJS::Lexer::regExpPattern |
( |
| ) |
const |
|
inline |
◆ scanDirectives()
◆ scanRegExp()
◆ setCode()
◆ setState()
◆ setStaticIsKeyword()
void QQmlJS::Lexer::setStaticIsKeyword |
( |
bool | b | ) |
|
|
inline |
◆ state()
◆ tokenKind()
int QQmlJS::Lexer::tokenKind |
( |
| ) |
const |
|
inline |
◆ tokenLength()
int QQmlJS::Lexer::tokenLength |
( |
| ) |
const |
|
inline |
◆ tokenOffset()
int QQmlJS::Lexer::tokenOffset |
( |
| ) |
const |
|
inline |
◆ tokenSpell()
◆ tokenStartColumn()
int QQmlJS::Lexer::tokenStartColumn |
( |
| ) |
const |
|
inline |
◆ tokenStartLine()
int QQmlJS::Lexer::tokenStartLine |
( |
| ) |
const |
|
inline |
◆ tokenText()
◆ tokenValue()
double QQmlJS::Lexer::tokenValue |
( |
| ) |
const |
|
inline |
◆ yieldIsKeyWord()
bool QQmlJS::Lexer::yieldIsKeyWord |
( |
| ) |
const |
|
inline |
◆ operator<<
The documentation for this class was generated from the following files: