evaluate_elevated_symbol

Function evaluate_elevated_symbol 

Source
pub(crate) fn evaluate_elevated_symbol<R: RcUpdater>(
    name: &SymbolName,
    elevation: Script,
    span: SimpleSpan,
    ctx: &mut EvaluationContext<'_, R>,
    scope: ScopeIdentifier,
) -> Result<Unsigned36Bit, EvaluationFailure>
Expand description

Compute the value of a symbol in super/sub/normal script.

This factors out behaviour common to the evaluation of both symbolic origins and general symbols.