Skip to main content

oak_d2/
lib.rs

1#![feature(new_range_api)]
2#![warn(missing_docs)]
3//! D2 support for the Oak language framework.
4
5pub mod ast;
6pub mod language;
7pub mod lexer;
8pub mod parser;
9
10pub use crate::{
11    ast::D2Root,
12    language::D2Language,
13    lexer::{D2Lexer, token_type::D2TokenType},
14    parser::{D2Parser, element_type::D2ElementType},
15};