pub(crate) fn build_frame_buffer_content(
wave_container: &WaveContainer,
scope_ref: &ScopeRef,
) -> Option<(Vec<ArrayLevel>, Vec<VariableRef>)>Expand description
Analyses the scope hierarchy rooted at scope_ref and returns:
levels: oneArrayLevelper nesting level, where the last level is for variablesall_leaf_vars: every variable reachable from the root (for pre-loading)
Returns None when scope_ref is not found in the hierarchy.