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§