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.
pub fn try_extract_unnamed_arg(
db: &dyn SyntaxGroup,
arg_ast: &Arg,
) -> Option<Expr>
Gets the syntax of an argument, and extracts the value if it is unnamed.