Skip to main content

parse_with_includes

Function parse_with_includes 

Source
pub fn parse_with_includes(
    src: &str,
    base_dir: Option<&str>,
) -> Result<ProtocolProgram, Vec<IdlError>>
Expand description

§35.13: parse with include "file" with roles (a=X, b=Y); support — the include is loaded relative to base_dir, roles renamed whole-word, and spliced in place of the include line.