#![doc = include_str!("readme.md")]
#![warn(missing_docs)]
#![doc(html_logo_url = "https://raw.githubusercontent.com/ygg-lang/oaks/refs/heads/dev/documents/logo.svg")]
#![doc(html_favicon_url = "https://raw.githubusercontent.com/ygg-lang/oaks/refs/heads/dev/documents/logo.svg")]
pub mod ast;
pub mod builder;
mod language;
mod lexer;
#[cfg(any(feature = "lsp", feature = "oak-highlight", feature = "oak-pretty-print"))]
pub mod lsp;
pub mod parser;
pub use ast::JinjaRoot;
pub use builder::JinjaBuilder;
pub use language::JinjaLanguage;
pub use lexer::{JinjaLexer, token_type::JinjaTokenType};
pub use parser::{JinjaParser, element_type::JinjaElementType};
#[cfg(feature = "oak-highlight")]
pub use crate::lsp::highlighter::JinjaHighlighter;
#[cfg(feature = "lsp")]
pub use crate::lsp::JinjaLanguageService;
#[cfg(feature = "lsp")]
pub use crate::lsp::formatter::JinjaFormatter;