wgsl_parse/
lib.rs

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