Display as text

This commit is contained in:
Rendo 2025-11-09 11:58:50 +05:00
commit 80c9d47399
3 changed files with 61 additions and 1 deletions

View file

@ -53,4 +53,7 @@ impl Formula {
self.display_recursion(indent_level + 1, next_nodes);
}
}
pub fn as_text(&self) -> String {
self.tree.as_text()
}
}