pub mod debugger;
pub mod profiler;
pub mod formatter;
pub mod linter;
pub use debugger::*;
pub use profiler::*;
pub use formatter::*;
pub use linter::*;
use std::collections::{HashMap, BTreeMap};
#[derive(Debug, Clone)]
pub struct DebugSession {
pub session_id: String,
pub script_path: String,
pub breakpoints: Vec<Breakpoint>,
}
#[derive(Debug, Clone)]
pub struct ProfileReport {
pub flamegraph: Option<profiler::FlameGraph>,
pub hotspots: Vec<profiler::HotFunction>,
pub memory_usage: profiler::MemoryReport,
pub optimization_suggestions: Vec<String>,
}
#[derive(Debug, Clone)]
pub struct FormatAndLintResult {
pub formatted_code: String,
pub lint_issues: Vec<linter::LintIssue>,
pub changed: bool,
pub fixes_applied: usize,
}