![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
#include <glsllexer_p.h>
Classes | |
| union | Value |
Public Types | |
| enum | Variant { Variant_GLSL_120 = 0x00010000 , Variant_GLSL_150 = 0x00020000 , Variant_GLSL_400 = 0x00040000 , Variant_GLSL_ES_100 = 0x00080000 , Variant_VertexShader = 0x00200000 , Variant_FragmentShader = 0x00400000 , Variant_Reserved = 0x80000000 , Variant_Mask = 0xFFFF0000 , Variant_All = 0xFFFF0000 } |
Public Member Functions | |
| Lexer (Engine *engine, const char *sourcesource, unsigned sizesize) | |
| ~Lexer () | |
| Engine * | engine () const |
| int | state () const |
| void | setState (int state) |
| int | variant () const |
| void | setVariant (int flagsflags) |
| bool | scanKeywords () const |
| void | setScanKeywords (bool scanKeywords) |
| bool | scanComments () const |
| void | setScanComments (bool scanComments) |
| int | yylex (Token *tk) |
| int | findKeyword (const char *word, int lengthlength) const |
| void * | yyval () const |
Static Public Member Functions | |
| static QStringList | keywords (int variant) |
Definition at line 53 of file glsllexer_p.h.
| enum GLSL::Lexer::Variant |
| Enumerator | |
|---|---|
| Variant_GLSL_120 | |
| Variant_GLSL_150 | |
| Variant_GLSL_400 | |
| Variant_GLSL_ES_100 | |
| Variant_VertexShader | |
| Variant_FragmentShader | |
| Variant_Reserved | |
| Variant_Mask | |
| Variant_All | |
Definition at line 59 of file glsllexer_p.h.
| Lexer::Lexer | ( | Engine * | engine, |
| const char * | source, | ||
| unsigned | size ) |
Definition at line 18 of file glsllexer.cpp.
| Lexer::~Lexer | ( | ) |
Definition at line 32 of file glsllexer.cpp.
|
inline |
Definition at line 79 of file glsllexer_p.h.
| int Lexer::findKeyword | ( | const char * | word, |
| int | length ) const |
Definition at line 375 of file glsllexer.cpp.
|
static |
Definition at line 1644 of file glslkeywords.cpp.
|
inline |
Definition at line 90 of file glsllexer_p.h.
|
inline |
Definition at line 87 of file glsllexer_p.h.
|
inline |
Definition at line 91 of file glsllexer_p.h.
|
inline |
Definition at line 88 of file glsllexer_p.h.
|
inline |
Definition at line 82 of file glsllexer_p.h.
|
inline |
Definition at line 85 of file glsllexer_p.h.
|
inline |
Definition at line 81 of file glsllexer_p.h.
|
inline |
Definition at line 84 of file glsllexer_p.h.
| int Lexer::yylex | ( | Token * | tk | ) |
Definition at line 43 of file glsllexer.cpp.
|
inline |
Definition at line 96 of file glsllexer_p.h.