oak-sql 0.0.11

SQL database query language parser with support for standard SQL syntax and database operations.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#![doc = include_str!("readme.md")]
use oak_highlight::{
    highlighter::{HighlightResult, Highlighter},
    themes::Theme,
};

/// SQL highlighter.
pub struct SqlHighlighter;

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