cairo_lang_defs::plugin_utils

Function try_extract_unnamed_arg

source
pub fn try_extract_unnamed_arg(
    db: &dyn SyntaxGroup,
    arg_ast: &Arg,
) -> Option<Expr>
Expand description

Gets the syntax of an argument, and extracts the value if it is unnamed.