pub fn resolve_variable_by_name(
ctx: &mut ComputationContext<'_>,
identifier: &TerminalIdentifier,
stable_ptr: ExprPtr,
) -> Maybe<Expr>
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.