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;
20
21pub use crate::{
23 ast::DelphiRoot,
24 builder::DelphiBuilder,
25 language::DelphiLanguage,
26 lexer::{DelphiLexer, token_type::DelphiTokenType},
27 parser::element_type::DelphiElementType,
28};
29
30#[cfg(any(feature = "lsp", feature = "oak-highlight", feature = "oak-pretty-print"))]
31pub use crate::lsp::{formatter::DelphiFormatter, highlighter::DelphiHighlighter};