cairo_lang_syntax::node::helpers

Trait NameGreen

Source
pub trait NameGreen {
    // Required method
    fn name_green(self, db: &dyn SyntaxGroup) -> TerminalIdentifierGreen;
}
Expand description

Trait for ast object with a name terminal.

Required Methods§

Source

fn name_green(self, db: &dyn SyntaxGroup) -> TerminalIdentifierGreen

Returns the TerminalIdentifierGreen of the name node.

Implementors§