Skip to main content

oak_html/
lib.rs

1#![doc = include_str!("readme.md")]
2#![feature(new_range_api)]
3#![feature(portable_simd)]
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
7pub mod ast;
8pub mod builder;
9pub mod highlighter;
10mod kind;
11mod language;
12mod lexer;
13#[cfg(feature = "lsp")]
14pub mod lsp;
15mod parser;
16
17#[cfg(feature = "lsp")]
18pub mod mcp;
19
20pub use crate::{ast::HtmlDocument, builder::HtmlBuilder, highlighter::HtmlHighlighter, language::HtmlLanguage, lexer::HtmlLexer, parser::HtmlParser};
21
22#[cfg(feature = "lsp")]
23pub use crate::lsp::HtmlLanguageService;