Function parse_source_code
Source pub fn parse_source_code(
file_path: &str,
source: &str,
language: &str,
) -> Vec<UcmEvent>
Expand description
Parse source code and emit entity + dependency events.
§Arguments
file_path — path relative to project root (used as entity ID component)
source — raw source text
language — “typescript”, “javascript”, “rust”, or “python”
§Returns
Stream of UcmEvents ready for GraphProjection::apply_event.