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
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.

◆ end()

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

Definition at line 48 of file glsllexer_p.h.

◆ is()

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

Definition at line 44 of file glsllexer_p.h.

◆ 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.

◆ length

int GLSL::Token::length

◆ 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: