pub fn resolve_variable_by_name<'db>(
ctx: &mut ComputationContext<'db, '_>,
identifier: &TerminalIdentifier<'db>,
stable_ptr: ExprPtr<'db>,
) -> Maybe<Expr<'db>>Expand description
Resolves a variable given a context and a simple name. It is used where resolving a variable where only a single identifier is allowed, specifically named function call and struct constructor arguments.
Reports a diagnostic if the variable was not found.