oak-dot 0.0.11

High-performance incremental DOT language parser for the oak ecosystem with flexible configuration, optimized for graph description and visualization.
Documentation
#![doc = include_str!("readme.md")]
use crate::language::DotLanguage;
use oak_core::{Builder, BuilderCache, Source, TextEdit, builder::BuildOutput};

/// A builder for DOT language structures.
pub struct DotBuilder {}

impl DotBuilder {
    /// Creates a new instance of the DOT builder.
    pub fn new(_lang: &DotLanguage) -> Self {
        Self {}
    }
}

impl Builder<DotLanguage> for DotBuilder {
    fn build<'a, S: Source + ?Sized>(&self, _text: &S, _edits: &[TextEdit], _cache: &'a mut impl BuilderCache<DotLanguage>) -> BuildOutput<DotLanguage> {
        todo!()
    }
}