1#![doc = include_str!("readme.md")]
2#![feature(new_range_api)]
3#![doc(html_logo_url = "https://raw.githubusercontent.com/ygg-lang/oaks/refs/heads/dev/documents/logo.svg")]
4#![doc(html_favicon_url = "https://raw.githubusercontent.com/ygg-lang/oaks/refs/heads/dev/documents/logo.svg")]
5#![warn(missing_docs)]
6pub mod ast;
12mod builder;
13
14mod language;
15mod lexer;
16#[cfg(any(feature = "lsp", feature = "oak-highlight", feature = "oak-pretty-print"))]
17pub mod lsp;
18pub mod parser;
19
20pub use crate::{
22 ast::DelphiRoot,
23 builder::DelphiBuilder,
24 language::DelphiLanguage,
25 lexer::{DelphiLexer, token_type::DelphiTokenType},
26 parser::element_type::DelphiElementType,
27};
28
29#[cfg(any(feature = "lsp", feature = "oak-highlight", feature = "oak-pretty-print"))]
30pub use crate::lsp::{formatter::DelphiFormatter, highlighter::DelphiHighlighter};