oak-org-mode 0.0.3

Org-mode parser with support for Emacs org-mode syntax and features.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#![doc = include_str!("readme.md")]
use crate::language::OrgModeLanguage;
use oak_core::{Builder, BuilderCache, OakDiagnostics, TextEdit, source::Source};

pub struct OrgModeBuilder {}

impl OrgModeBuilder {
    pub fn new(_config: &OrgModeLanguage) -> Self {
        Self {}
    }
}

impl Builder<OrgModeLanguage> for OrgModeBuilder {
    fn build<'a, S: Source + ?Sized>(&self, _source: &S, _edits: &[TextEdit], _cache: &'a mut impl BuilderCache<OrgModeLanguage>) -> OakDiagnostics<()> {
        OakDiagnostics { result: Ok(()), diagnostics: Vec::new() }
    }
}