Function analyse_in_memory
pub fn analyse_in_memory(
source: &str,
target: BuildTarget,
platform: Platform,
) -> Vec<AttributedError>Expand description
Analyse a single in-memory Bynk source and return all diagnostics —
non-bailing, no emission (in-browser track, slice 5d). The editor calls this
on every (debounced) keystroke for live diagnostics: unlike compile_in_memory
(build mode, which bails at the first failing phase), this runs in Analyse
mode, so parse / resolve / check diagnostics are recovered and reported together
— and it works for a context (the playground’s typical program), not only a
commons. Same fs-free seam as compile_in_memory.