cairo_lang_defs::plugin_utils

Trait InlineMacroCall

Source
pub trait InlineMacroCall {
    type PathNode: TypedSyntaxNode;
    type Result: PluginResultTrait;

    // Required methods
    fn arguments(&self, db: &dyn SyntaxGroup) -> WrappedArgList;
    fn path(&self, db: &dyn SyntaxGroup) -> Self::PathNode;
}
Expand description

Trait providing a consistent interface for inline macro calls.

Required Associated Types§

Required Methods§

Source

fn arguments(&self, db: &dyn SyntaxGroup) -> WrappedArgList

Source

fn path(&self, db: &dyn SyntaxGroup) -> Self::PathNode

Implementations on Foreign Types§

Source§

impl InlineMacroCall for ExprInlineMacro

Source§

impl InlineMacroCall for ItemInlineMacro

Implementors§