oak-org-mode 0.0.11

Org-mode parser with support for Emacs org-mode syntax and features.
Documentation
#![doc = include_str!("readme.md")]
#![feature(new_range_api)]
#![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")]
#![warn(missing_docs)]

/// AST module.
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;
/// MCP module.
#[cfg(feature = "mcp")]
pub mod mcp;

pub mod parser;

pub use crate::{ast::OrgModeRoot, builder::OrgModeBuilder, language::OrgModeLanguage, lexer::OrgModeLexer, parser::OrgModeParser};

#[cfg(feature = "lsp")]
#[cfg(feature = "oak-highlight")]
pub use crate::lsp::highlighter::OrgModeHighlighter;

#[cfg(feature = "lsp")]
pub use crate::lsp::OrgModeLanguageService;

#[cfg(feature = "mcp")]
pub use crate::mcp::serve_org_mode_mcp;
pub use lexer::token_type::OrgModeTokenType;
pub use parser::element_type::OrgModeElementType;