pub trait HasDesc { // Required method fn desc(&self) -> &'static str; // Provided method fn desc_full(&self) -> String { ... } }
Describes syntax nodes.
Obtain a human-readable descriptive name for this node.
Obtain a human-readable description for this node, possibly containing the node’s name.