wgsl_parse/
lib.rs

1#![doc = include_str!("../README.md")]
2
3pub mod error;
4pub mod lexer;
5pub mod parser;
6pub mod span;
7pub mod syntax;
8
9mod parser_support;
10mod syntax_display;
11mod syntax_impl;
12
13#[cfg(feature = "tokrepr")]
14mod tokrepr;
15#[cfg(feature = "tokrepr")]
16pub use ::tokrepr::TokRepr;
17
18pub use error::Error;
19pub use parser::{parse_str, recognize_str};
20pub use syntax_impl::Decorated;