oak-dart 0.0.11

High-performance incremental Dart parser for the oak ecosystem with flexible configuration, supporting cross-platform development and modern UI frameworks.
Documentation
#![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")]

/// AST module.
pub mod ast;
/// Builder module.
pub mod builder;
/// Language configuration module.
pub mod language;
/// Lexer module.
pub mod lexer;
/// LSP module.
#[cfg(feature = "lsp")]
pub mod lsp;
/// Parser module.
pub mod parser;

pub use crate::{language::DartLanguage, lexer::DartLexer, parser::DartParser};

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

// /// LSP implementation.
#[cfg(feature = "lsp")]
pub use crate::lsp::DartLanguageService;
#[cfg(feature = "lsp")]
pub use crate::lsp::formatter::DartFormatter;
/// Token type for Dart lexer.
pub use lexer::token_type::DartTokenType;
/// Element type for Dart parser.
pub use parser::element_type::DartElementType;