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//! Bash support for the Oak language framework.
7
8/// AST module.
9pub mod ast;
10/// Builder module.
11pub mod builder;
12/// Syntax kind module.
13/// Language configuration module.
14pub mod language;
15/// Lexer module.
16pub mod lexer;
17#[cfg(any(feature = "lsp", feature = "oak-highlight", feature = "oak-pretty-print"))]
18pub mod lsp;
19/// Parser module.
20pub mod parser;
21
22pub use crate::{
23    ast::BashRoot,
24    builder::BashBuilder,
25    language::BashLanguage,
26    lexer::token_type::BashTokenType,
27    parser::{BashParser, element_type::BashElementType},
28};