schala/schala-lang/language/src/debugging.rs

11 lines
179 B
Rust
Raw Normal View History

2019-08-12 09:51:36 -07:00
use crate::ast::*;
impl AST {
pub fn compact_debug(&self) -> String {
format!("{:?}", self)
}
pub fn expanded_debug(&self) -> String {
format!("{:#?}", self)
}
}