Donner SVG main
0.8.0 ยท 382bd0190.8.0 main
SVG editor and embeddable C⁠+⁠+⁠20 engine.
Loading...
Searching...
No Matches
donner::gpu::shader::wgsl::detail::Parser Class Reference

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.

Detailed Description

Private parser state. All storage is fixed-size and constexpr-compatible.

Constructor & Destructor Documentation

◆ Parser()

donner::gpu::shader::wgsl::detail::Parser::Parser ( std::string_view source)
inlineexplicitconstexpr

Borrows input for the parser lifetime; parsed modules retain their own text.

Parameters
sourceWGSL input text.

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