Skip to main content

parse

Function parse 

Source
pub fn parse(line: &str) -> Option<(Kind, String, String)>
Expand description

Parse a reduction stub line back into (kind, id, summary).

Returns None for anything that doesn’t match the grammar exactly: missing brackets, an unknown kind, a malformed id, or a summary containing ] (which would make the closing bracket ambiguous).