Lexical token retaining its source spelling and location. More...
#include "donner/gpu/shader/wgsl/Parser.h"
Public Attributes | |
| TokenKind | kind = TokenKind::End |
| Lexical token category. | |
| SourceSpan | span |
| Source byte range occupied by the token. | |
| std::string_view | text |
| Borrowed spelling within the shader source. | |
Lexical token retaining its source spelling and location.
| TokenKind donner::gpu::shader::wgsl::detail::Token::kind = TokenKind::End |
Lexical token category.
| SourceSpan donner::gpu::shader::wgsl::detail::Token::span |
Source byte range occupied by the token.
| std::string_view donner::gpu::shader::wgsl::detail::Token::text |
Borrowed spelling within the shader source.