[][src]Trait moore_common::util::HasDesc

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

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

Describes syntax nodes.

Required methods

pub fn desc(&self) -> &'static str[src]

Obtain a human-readable descriptive name for this node.

Loading content...

Provided methods

pub fn desc_full(&self) -> String[src]

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

Loading content...

Implementors

impl<T> HasDesc for Spanned<T> where
    T: HasDesc
[src]

Loading content...