![]() |
Qt 6.x
The Qt SDK
|
#include <qqmljslexer_p.h>
Collaboration diagram for QQmlJS::Lexer::State:Public Attributes | |
| Error | errorCode = NoError |
| QChar | currentChar = u'\n' |
| double | tokenValue = 0 |
| ParenthesesState | parenthesesState = IgnoreParentheses |
| int | parenthesesCount = 0 |
| QStack< int > | outerTemplateBraceCount |
| int | bracesCount = -1 |
| int | stackToken = -1 |
| int | patternFlags = 0 |
| int | tokenKind = 0 |
| ImportState | importState = ImportState::NoQmlImport |
| bool | validTokenText = false |
| bool | prohibitAutomaticSemicolon = false |
| bool | restrictedKeyword = false |
| bool | terminator = false |
| bool | followsClosingBrace = false |
| bool | delimited = true |
| bool | handlingDirectives = false |
| CommentState | comments = CommentState::NoComment |
| int | generatorLevel = 0 |
Friends | |
| bool | operator== (State const &s1, State const &s2) |
| bool | operator!= (State const &s1, State const &s2) |
| QML_PARSER_EXPORT QDebug | operator<< (QDebug dbg, State const &s) |
Definition at line 162 of file qqmljslexer_p.h.
Definition at line 236 of file qqmljslexer_p.h.
|
friend |
Definition at line 1806 of file qqmljslexer.cpp.
Definition at line 193 of file qqmljslexer_p.h.
| int QQmlJS::Lexer::State::bracesCount = -1 |
Definition at line 175 of file qqmljslexer_p.h.
Referenced by QQmlJS::Lexer::lex().
| CommentState QQmlJS::Lexer::State::comments = CommentState::NoComment |
Definition at line 190 of file qqmljslexer_p.h.
Referenced by QQmlJS::Lexer::lex().
Definition at line 166 of file qqmljslexer_p.h.
Referenced by addLexToken(), QQmlJS::Lexer::lex(), and QQmlJS::Lexer::scanRegExp().
| bool QQmlJS::Lexer::State::delimited = true |
Definition at line 188 of file qqmljslexer_p.h.
Referenced by QQmlJS::Lexer::lex().
Definition at line 164 of file qqmljslexer_p.h.
Referenced by QQmlJS::Lexer::errorCode().
| bool QQmlJS::Lexer::State::followsClosingBrace = false |
Definition at line 187 of file qqmljslexer_p.h.
Referenced by QQmlJS::Lexer::canInsertAutomaticSemicolon(), QQmlJS::Lexer::followsClosingBrace(), and QQmlJS::Lexer::lex().
| int QQmlJS::Lexer::State::generatorLevel = 0 |
Definition at line 191 of file qqmljslexer_p.h.
| bool QQmlJS::Lexer::State::handlingDirectives = false |
Definition at line 189 of file qqmljslexer_p.h.
Referenced by QQmlJS::Lexer::lex(), and QQmlJS::Lexer::scanDirectives().
| ImportState QQmlJS::Lexer::State::importState = ImportState::NoQmlImport |
Definition at line 181 of file qqmljslexer_p.h.
Referenced by QQmlJS::Lexer::lex().
| QStack<int> QQmlJS::Lexer::State::outerTemplateBraceCount |
Definition at line 174 of file qqmljslexer_p.h.
| int QQmlJS::Lexer::State::parenthesesCount = 0 |
Definition at line 171 of file qqmljslexer_p.h.
Referenced by QQmlJS::Lexer::lex().
| ParenthesesState QQmlJS::Lexer::State::parenthesesState = IgnoreParentheses |
Definition at line 170 of file qqmljslexer_p.h.
Referenced by QQmlJS::Lexer::lex().
| int QQmlJS::Lexer::State::patternFlags = 0 |
Definition at line 179 of file qqmljslexer_p.h.
Referenced by QQmlJS::Lexer::scanRegExp().
| bool QQmlJS::Lexer::State::prohibitAutomaticSemicolon = false |
Definition at line 184 of file qqmljslexer_p.h.
| bool QQmlJS::Lexer::State::restrictedKeyword = false |
Definition at line 185 of file qqmljslexer_p.h.
Referenced by QQmlJS::Lexer::lex().
| int QQmlJS::Lexer::State::stackToken = -1 |
Definition at line 177 of file qqmljslexer_p.h.
Referenced by QQmlJS::Lexer::lex().
| bool QQmlJS::Lexer::State::terminator = false |
Definition at line 186 of file qqmljslexer_p.h.
Referenced by QQmlJS::Lexer::canInsertAutomaticSemicolon(), and QQmlJS::Lexer::prevTerminator().
| int QQmlJS::Lexer::State::tokenKind = 0 |
Definition at line 180 of file qqmljslexer_p.h.
Referenced by QQmlJS::Dom::FormatPartialStatus::handleTokens(), QQmlJS::Dom::indentForLineStartingWithToken(), QQmlJS::Dom::Scanner::State::isMultiline(), QQmlJS::Lexer::lex(), QQmlJS::Lexer::scanDirectives(), and QQmlJS::Lexer::tokenText().
| double QQmlJS::Lexer::State::tokenValue = 0 |
Definition at line 167 of file qqmljslexer_p.h.
| bool QQmlJS::Lexer::State::validTokenText = false |
Definition at line 183 of file qqmljslexer_p.h.
Referenced by QQmlJS::Lexer::scanRegExp(), and QQmlJS::Lexer::tokenText().