Skip to main content

collect_handler_labels

Function collect_handler_labels 

Source
pub fn collect_handler_labels(commons: &TypedCommons) -> Option<String>
Expand description

Slice 3 (semantic-debugging track, ADR 0105): the debug-metadata sidecar’s { fn → label } map — each emitted handler function paired with its Bynk operation label, so the debugger can name a stack frame GET "/" rather than http_GET. bynk_ts::TsExpr by re-walking the unit’s handlers with the same naming functions the emitter uses (so the keys match the emitted function names); serialised as a JSON object (manual, like the source map — no serde). Returns None when the unit declares no handlers.