GlslToken struct
One GLSL expression token with its position in the source line it came from.
Public variables
- GlslTokenType Type
- Token classification.
- String Text
- Verbatim token text.
-
std::
size_t Index - Caller-defined line identifier (FoldInputLine::
Index). -
std::
size_t Begin - First column of the token on its line.
-
std::
size_t End - One past the last column of the token.
- bool Suffixed
- Whether a numeric literal carries a non-
usuffix (1.0f,1.0lf) — opaque, never folded.