Skip to main content

parse_str

Function parse_str 

Source
pub fn parse_str(content: &str) -> IndexMap<String, Element>
Expand description

Parse a raw .mps content string (without a surrounding @mps{} wrapper). Uses base_ref 0 so ref-paths are 0.1, 0.2, etc. Intended for unit tests.