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
5/// A builder for DOT language structures.
6pub struct DotBuilder {}
7
8impl DotBuilder {
9 /// Creates a new instance of the DOT builder.
10 pub fn new(_lang: &DotLanguage) -> Self {
11 Self {}
12 }
13}
14
15impl Builder<DotLanguage> for DotBuilder {
16 fn build<'a, S: Source + ?Sized>(&self, _text: &S, _edits: &[TextEdit], _cache: &'a mut impl BuilderCache<DotLanguage>) -> BuildOutput<DotLanguage> {
17 todo!()
18 }
19}