Skip to main content

oak_sql/formatter/
mod.rs

1use crate::language::SqlLanguage;
2
3pub struct SqlFormatter<'config> {
4    _config: &'config SqlLanguage,
5}
6
7impl<'config> SqlFormatter<'config> {
8    pub fn new(config: &'config SqlLanguage) -> Self {
9        Self { _config: config }
10    }
11
12    pub fn format(&self, _node: &oak_core::tree::RedNode<SqlLanguage>) -> String {
13        // TODO: Implement SQL formatting
14        String::new()
15    }
16}