oak-go 0.0.11

High-performance incremental Go parser for the oak ecosystem with flexible configuration, supporting concurrent programming and cloud-native development.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#![doc = include_str!("readme.md")]

use oak_highlight::HighlightSegment;

use crate::ast::GoRoot;

/// Go syntax highlighter.
pub struct GoHighlighter;

impl GoHighlighter {
    pub fn highlight<'a>(&self, _root: &'a GoRoot) -> Vec<HighlightSegment<'_>> {
        vec![]
    }
}