Skip to main content

oak_dot/builder/
mod.rs

1#![doc = include_str!("readme.md")]
2use crate::language::DotLanguage;
3use oak_core::{Builder, BuilderCache, Source, TextEdit, builder::BuildOutput};
4
5pub struct DotBuilder {}
6
7impl DotBuilder {
8    pub fn new(_lang: &DotLanguage) -> Self {
9        Self {}
10    }
11}
12
13impl Builder<DotLanguage> for DotBuilder {
14    fn build<'a, S: Source + ?Sized>(&self, _text: &S, _edits: &[TextEdit], _cache: &'a mut impl BuilderCache<DotLanguage>) -> BuildOutput<DotLanguage> {
15        todo!()
16    }
17}