Skip to main content

parse_langspec_bytes

Function parse_langspec_bytes 

Source
pub fn parse_langspec_bytes(
    source_name: &str,
    input: &[u8],
) -> Result<LangSpec, LangSpecError>
Expand description

Parses builtin declarations from one already-loaded byte buffer.

ยงErrors

Returns LangSpecError if parsing fails.