[][src]Function cddl_cat::parser::slice_parse_cddl

pub fn slice_parse_cddl(input: &str) -> Result<CddlSlice, ParseError>

An entry point for parsing CDDL text, preserving rule strings

This operates exactly like parse_cddl, but stores a copy of the rule's original CDDL text.