#![doc = include_str!("readme.md")]
use crate::ast::TclRoot;
pub struct TclFormatter {
pub indent_level: usize,
pub indent_str: String,
}
impl TclFormatter {
pub fn new() -> Self {
Self { indent_level: 0, indent_str: " ".to_string() }
}
pub fn format(&self, source: &str) -> String {
source.to_string()
}
pub fn format_ast(&self, _root: &TclRoot) -> String {
String::new()
}
}
impl Default for TclFormatter {
fn default() -> Self {
Self::new()
}
}