use crate::{ context::CommandContextBuilder, exceptions::CommandSyntaxException, string_reader::StringReader, tree::CommandNode, }; use std::{collections::HashMap, fmt::Debug, rc::Rc}; pub struct ParseResults { pub context: CommandContextBuilder, pub reader: StringReader, pub exceptions: HashMap>, CommandSyntaxException>, } impl Debug for ParseResults { fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { f.debug_struct("ParseResults") .field("context", &self.context) // .field("reader", &self.reader) .field("exceptions", &self.exceptions) .finish() } }