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
GLSL::Token Class Reference

#include <glsllexer_p.h>

+ Collaboration diagram for GLSL::Token:

Public Member Functions

 Token ()
 
bool is (int k) const
 
bool isNot (int k) const
 
int begin () const
 
int end () const
 

Public Attributes

int kind
 
int position
 
int length
 
int line
 
union { 
 
   int   matchingBrace 
 
   int   i 
 
   const QString *   string 
 
   void *   ptr 
 
};  
 

Detailed Description

Definition at line 26 of file glsllexer_p.h.

Constructor & Destructor Documentation

◆ Token()

GLSL::Token::Token ( )
inline

Definition at line 41 of file glsllexer_p.h.

Member Function Documentation

◆ begin()

int GLSL::Token::begin ( ) const
inline

Definition at line 47 of file glsllexer_p.h.

References position().

+ Here is the call graph for this function:

◆ end()

int GLSL::Token::end ( ) const
inline

Definition at line 48 of file glsllexer_p.h.

References position().

+ Here is the call graph for this function:

◆ is()

bool GLSL::Token::is ( int k) const
inline

Definition at line 44 of file glsllexer_p.h.

Referenced by GLSL::Parser::parse().

+ Here is the caller graph for this function:

◆ isNot()

bool GLSL::Token::isNot ( int k) const
inline

Definition at line 45 of file glsllexer_p.h.

Member Data Documentation

◆ [union]

union { ... } GLSL::Token

◆ i

int GLSL::Token::i

Definition at line 36 of file glsllexer_p.h.

◆ kind

int GLSL::Token::kind

Definition at line 29 of file glsllexer_p.h.

Referenced by GLSL::Parser::parse().

◆ length

int GLSL::Token::length

Definition at line 31 of file glsllexer_p.h.

◆ line

int GLSL::Token::line

Definition at line 32 of file glsllexer_p.h.

◆ matchingBrace

int GLSL::Token::matchingBrace

Definition at line 35 of file glsllexer_p.h.

◆ position

int GLSL::Token::position

Definition at line 30 of file glsllexer_p.h.

◆ ptr

void* GLSL::Token::ptr

Definition at line 38 of file glsllexer_p.h.

◆ string

const QString* GLSL::Token::string

Definition at line 37 of file glsllexer_p.h.


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