Skip to main content

parse_dispatch_mac

Function parse_dispatch_mac 

Source
pub fn parse_dispatch_mac(
    text: &str,
    map: &InitialLabelMap,
) -> Result<DispatchLabel, String>
Expand description

Parse one $dispatchMac annotation value against the map.

Every rule violation returns Err with the review-facing reason; the caller turns that into a build error (compile_error! / build-script failure), so no unparseable annotation can ever reach a runtime row.