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§