Skip to main content

parse_bytes_with_mode

Function parse_bytes_with_mode 

Source
pub fn parse_bytes_with_mode(
    source: Vec<u8>,
    mode: FileMode,
) -> Result<ByteParsedFile, Diagnostic>
Expand description

Parse model or assignment-only data bytes without resolving includes. All ranges refer to the supplied bytes; a BOM is not stripped automatically.