11 lines
179 B
Rust
11 lines
179 B
Rust
|
use crate::ast::*;
|
||
|
|
||
|
impl AST {
|
||
|
pub fn compact_debug(&self) -> String {
|
||
|
format!("{:?}", self)
|
||
|
}
|
||
|
pub fn expanded_debug(&self) -> String {
|
||
|
format!("{:#?}", self)
|
||
|
}
|
||
|
}
|