pub trait DebugInfo {
// Required methods
fn debug_description(&self) -> String;
fn node_type(&self) -> &'static str;
}
Expand description
Trait for AST nodes that can provide debugging information.
Required Methods§
Sourcefn debug_description(&self) -> String
fn debug_description(&self) -> String
Get a human-readable description of this node.