Function a2lfile::load_fragment

source ·
pub fn load_fragment(a2ldata: &str) -> Result<Module, A2lError>
Expand description

load an a2l fragment

An a2l fragment is just the bare content of a module, without the enclosing PROJECT and MODULE. Because the fragment cannot specify a version, strict parsing is not available.

§Errors

If reading or parsing of the file fails, the A2lError will give details about the problem.