#![doc = include_str!("readme.md")]
use crate::ast::PerlRoot;
pub struct PerlFormatter {
pub indent_level: usize,
pub indent_str: String,
}
impl PerlFormatter {
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: &PerlRoot) -> String {
String::new()
}
}
impl Default for PerlFormatter {
fn default() -> Self {
Self::new()
}
}