pub trait HasDesc {
    fn desc(&self) -> &'static str;

    fn desc_full(&self) -> String { ... }
}
Expand description

Describes syntax nodes.

Required methods

Obtain a human-readable descriptive name for this node.

Provided methods

Obtain a human-readable description for this node, possibly containing the node’s name.

Implementors