Crate midl_parser

Source
Expand description

Parser for MIDL files

The parser in this crate is based on a protobuf parser github.com/stepancheg/rust-protobuf

Structs§

ParsedAndTypechecked
Validated model from parser

Enums§

Occurrence
A field occurrence: how any times field may appear moved from model since it’s just for parsing now

Constants§

MIDL_PARSER_VERSION
Current version of midl parser crate

Functions§

parse_and_typecheck
Parse and validate input, and generate model schema
parse_string
Parse file into schema. Does not import any of the ‘imports’ or resolve foreign references