Skip to main content

oak_bash/
lib.rs

1#![doc = include_str!("readme.md")]
2#![feature(new_range_api)]
3#![warn(missing_docs)]
4#![doc(html_logo_url = "https://raw.githubusercontent.com/ygg-lang/oaks/refs/heads/dev/documents/logo.svg")]
5#![doc(html_favicon_url = "https://raw.githubusercontent.com/ygg-lang/oaks/refs/heads/dev/documents/logo.svg")]
6
7/// AST module.
8pub mod ast;
9/// Builder module.
10pub mod builder;
11/// Syntax kind module.
12/// Language configuration module.
13pub mod language;
14/// Lexer module.
15pub mod lexer;
16#[cfg(any(feature = "lsp", feature = "oak-highlight", feature = "oak-pretty-print"))]
17pub mod lsp;
18/// Parser module.
19pub mod parser;
20
21pub use crate::{
22    ast::BashRoot,
23    builder::BashBuilder,
24    language::BashLanguage,
25    lexer::token_type::BashTokenType,
26    parser::{BashParser, element_type::BashElementType},
27};