Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
Token Struct Reference

#include <qqmlsemantictokens_p.h>

+ Collaboration diagram for Token:

Public Member Functions

 Token ()=default
 
 Token (const QQmlJS::SourceLocation &loc, int tokenType, int tokenModifier=0)
 

Public Attributes

int offset
 
int length
 
int startLine
 
int startColumn
 
int tokenType
 
int tokenModifier
 

Friends

bool operator< (const Token &lhs, const Token &rhs)
 
bool operator== (const Token &lhs, const Token &rhs)
 

Detailed Description

Definition at line 29 of file qqmlsemantictokens_p.h.

Constructor & Destructor Documentation

◆ Token() [1/2]

Token::Token ( )
default

◆ Token() [2/2]

Token::Token ( const QQmlJS::SourceLocation & loc,
int tokenType,
int tokenModifier = 0 )
inline

Definition at line 32 of file qqmlsemantictokens_p.h.

Friends And Related Symbol Documentation

◆ operator<

bool operator< ( const Token & lhs,
const Token & rhs )
friend

Definition at line 42 of file qqmlsemantictokens_p.h.

◆ operator==

bool operator== ( const Token & lhs,
const Token & rhs )
friend

Definition at line 47 of file qqmlsemantictokens_p.h.

Member Data Documentation

◆ length

int Token::length

Definition at line 55 of file qqmlsemantictokens_p.h.

Referenced by QQmlJS::Dom::FormatPartialStatus::tokenText().

◆ offset

int Token::offset

Definition at line 54 of file qqmlsemantictokens_p.h.

◆ startColumn

int Token::startColumn

Definition at line 57 of file qqmlsemantictokens_p.h.

◆ startLine

int Token::startLine

Definition at line 56 of file qqmlsemantictokens_p.h.

◆ tokenModifier

int Token::tokenModifier

Definition at line 59 of file qqmlsemantictokens_p.h.

◆ tokenType

int Token::tokenType

Definition at line 58 of file qqmlsemantictokens_p.h.


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