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
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 120 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 123 of file qqmlsemantictokens_p.h.

References length, offset, startColumn, startLine, tokenModifier, and tokenType.

Friends And Related Symbol Documentation

◆ operator<

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

Definition at line 133 of file qqmlsemantictokens_p.h.

References offset.

◆ operator==

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

Definition at line 138 of file qqmlsemantictokens_p.h.

References length, offset, startColumn, startLine, tokenModifier, and tokenType.

Member Data Documentation

◆ length

int Token::length

◆ offset

◆ startColumn

int Token::startColumn

Definition at line 148 of file qqmlsemantictokens_p.h.

Referenced by Token(), and operator==.

◆ startLine

int Token::startLine

Definition at line 147 of file qqmlsemantictokens_p.h.

Referenced by Token(), and operator==.

◆ tokenModifier

int Token::tokenModifier

Definition at line 150 of file qqmlsemantictokens_p.h.

Referenced by Token(), and operator==.

◆ tokenType

int Token::tokenType

Definition at line 149 of file qqmlsemantictokens_p.h.

Referenced by Token(), and operator==.


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