Private parser state. All storage is fixed-size and constexpr-compatible. More...
#include "donner/gpu/shader/wgsl/Parser.h"
Public Member Functions | |
| constexpr | Parser (std::string_view source) |
| Borrows input for the parser lifetime; parsed modules retain their own text. | |
| constexpr ParseResult | parse () |
| Parses a full source module. | |
Private parser state. All storage is fixed-size and constexpr-compatible.
|
inlineexplicitconstexpr |
Borrows input for the parser lifetime; parsed modules retain their own text.
| source | WGSL input text. |