#![doc = include_str!("readme.md")]
#![feature(new_range_api)]
#![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;
pub mod language;
pub mod lexer;
#[cfg(any(feature = "lsp", feature = "oak-highlight", feature = "oak-pretty-print"))]
pub mod lsp;
#[cfg(feature = "mcp")]
pub mod mcp;
pub mod parser;
pub use crate::{
ast::ValaRoot,
builder::ValaBuilder,
language::ValaLanguage,
lexer::{ValaLexer, token_type::ValaTokenType},
parser::{ValaParser, element_type::ValaElementType},
};
#[cfg(feature = "oak-highlight")]
pub use crate::lsp::highlighter::ValaHighlighter;
#[cfg(feature = "lsp")]
pub use crate::lsp::ValaLanguageService;
#[cfg(feature = "lsp")]
pub use crate::lsp::formatter::ValaFormatter;
#[cfg(feature = "mcp")]
pub use crate::mcp::serve_vala_mcp;