oak-scala 0.0.11

High-performance incremental Scala parser for the oak ecosystem with flexible configuration, supporting functional programming and JVM ecosystem integration.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#![doc = include_str!("readme.md")]
use oak_core::errors::ParseResult;
use oak_highlight::{HighlightResult, Theme, highlighter::Highlighter};

/// Scala highlighter
pub struct ScalaHighlighter {
    _use_parser: bool,
}

impl Highlighter for ScalaHighlighter {
    fn highlight<'a>(&self, _source: &'a str, _theme: &str, _themeconfig: Theme) -> ParseResult<HighlightResult<'a>> {
        todo!()
    }
}