Donner SVG 0.8.0
0.8.0 ยท ebf353960.8.0 main
SVG editor and embeddable C⁠+⁠+⁠20 engine.
Loading...
Searching...
No Matches
donner::gpu::shader::wgsl::detail::Token Struct Reference

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.

Detailed Description

Lexical token retaining its source spelling and location.

Member Data Documentation

◆ kind

TokenKind donner::gpu::shader::wgsl::detail::Token::kind = TokenKind::End

Lexical token category.

◆ span

SourceSpan donner::gpu::shader::wgsl::detail::Token::span

Source byte range occupied by the token.

◆ text

std::string_view donner::gpu::shader::wgsl::detail::Token::text

Borrowed spelling within the shader source.


The documentation for this struct was generated from the following file: