1#![doc = include_str!("readme.md")]
2#![feature(new_range_api)]
3#![feature(portable_simd)]
4#![allow(missing_docs)]
5#![doc = include_str!("../readme.md")]
6#![doc(html_logo_url = "https://raw.githubusercontent.com/ygg-lang/oaks/refs/heads/dev/documents/logo.svg")]
7#![doc(html_favicon_url = "https://raw.githubusercontent.com/ygg-lang/oaks/refs/heads/dev/documents/logo.svg")]
8pub mod ast;
12pub mod builder;
14pub mod language;
17pub mod lexer;
19#[cfg(any(feature = "lsp", feature = "oak-highlight", feature = "oak-pretty-print"))]
21pub mod lsp;
22#[cfg(feature = "mcp")]
24pub mod mcp;
25
26pub mod parser;
28
29pub use crate::{ast::HtmlDocument, builder::HtmlBuilder, language::HtmlLanguage, lexer::HtmlLexer, parser::HtmlParser};
30
31#[cfg(feature = "oak-highlight")]
33pub use crate::lsp::highlighter::HtmlHighlighter;
34
35#[cfg(feature = "lsp")]
37pub use crate::lsp::HtmlLanguageService;
38pub use lexer::token_type::HtmlTokenType;
39pub use parser::element_type::HtmlElementType;