Lexical classes of each byte, plus the token kind of each single-character punctuator. More...
#include "donner/gpu/shader/wgsl/Parser.h"
Public Attributes | |
| uint8_t | classes [256] = {} |
| Class bits for each byte value. | |
| TokenKind | punctuation [256] = {} |
| Single-character punctuator kind, or End. | |
Static Public Attributes | |
| static constexpr uint8_t | kSpace = 1 |
| Whitespace between tokens. | |
| static constexpr uint8_t | kIdentifierStart = 2 |
| ASCII letter or _. | |
| static constexpr uint8_t | kDigit = 4 |
| ASCII decimal digit. A byte that continues an identifier. | |
| static constexpr uint8_t | kIdentifierContinue = kIdentifierStart | kDigit |
Lexical classes of each byte, plus the token kind of each single-character punctuator.