Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
QQmlJS::Lexer::State Struct Reference

#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)

Detailed Description

Definition at line 128 of file qqmljslexer_p.h.

◆ operator!=

bool operator!= ( State const & s1,
State const & s2 )
friend

Definition at line 202 of file qqmljslexer_p.h.

◆ operator<<

QML_PARSER_EXPORT QDebug operator<< ( QDebug dbg,
State const & s )
friend

Definition at line 1848 of file qqmljslexer.cpp.

◆ operator==

bool operator== ( State const & s1,
State const & s2 )
friend

Definition at line 159 of file qqmljslexer_p.h.

Member Data Documentation

◆ bracesCount

int QQmlJS::Lexer::State::bracesCount = -1

Definition at line 141 of file qqmljslexer_p.h.

◆ comments

CommentState QQmlJS::Lexer::State::comments = CommentState::NoComment

Definition at line 156 of file qqmljslexer_p.h.

◆ currentChar

QChar QQmlJS::Lexer::State::currentChar = u'\n'

Definition at line 132 of file qqmljslexer_p.h.

◆ delimited

bool QQmlJS::Lexer::State::delimited = true

Definition at line 154 of file qqmljslexer_p.h.

◆ errorCode

Error QQmlJS::Lexer::State::errorCode = NoError

Definition at line 130 of file qqmljslexer_p.h.

◆ followsClosingBrace

bool QQmlJS::Lexer::State::followsClosingBrace = false

Definition at line 153 of file qqmljslexer_p.h.

◆ generatorLevel

int QQmlJS::Lexer::State::generatorLevel = 0

Definition at line 157 of file qqmljslexer_p.h.

◆ handlingDirectives

bool QQmlJS::Lexer::State::handlingDirectives = false

Definition at line 155 of file qqmljslexer_p.h.

◆ importState

ImportState QQmlJS::Lexer::State::importState = ImportState::NoQmlImport

Definition at line 147 of file qqmljslexer_p.h.

◆ outerTemplateBraceCount

QStack<int> QQmlJS::Lexer::State::outerTemplateBraceCount

Definition at line 140 of file qqmljslexer_p.h.

◆ parenthesesCount

int QQmlJS::Lexer::State::parenthesesCount = 0

Definition at line 137 of file qqmljslexer_p.h.

◆ parenthesesState

ParenthesesState QQmlJS::Lexer::State::parenthesesState = IgnoreParentheses

Definition at line 136 of file qqmljslexer_p.h.

◆ patternFlags

int QQmlJS::Lexer::State::patternFlags = 0

Definition at line 145 of file qqmljslexer_p.h.

◆ prohibitAutomaticSemicolon

bool QQmlJS::Lexer::State::prohibitAutomaticSemicolon = false

Definition at line 150 of file qqmljslexer_p.h.

◆ restrictedKeyword

bool QQmlJS::Lexer::State::restrictedKeyword = false

Definition at line 151 of file qqmljslexer_p.h.

◆ stackToken

int QQmlJS::Lexer::State::stackToken = -1

Definition at line 143 of file qqmljslexer_p.h.

◆ terminator

bool QQmlJS::Lexer::State::terminator = false

Definition at line 152 of file qqmljslexer_p.h.

◆ tokenKind

int QQmlJS::Lexer::State::tokenKind = 0

Definition at line 146 of file qqmljslexer_p.h.

◆ tokenValue

double QQmlJS::Lexer::State::tokenValue = 0

Definition at line 133 of file qqmljslexer_p.h.

◆ validTokenText

bool QQmlJS::Lexer::State::validTokenText = false

Definition at line 149 of file qqmljslexer_p.h.


The documentation for this struct was generated from the following file: