parse

Function parse 

Source
pub fn parse(input: &str) -> Result<YaraFile, Error>
Expand description

Parse a YARA file.

This uses default values for a few parameters, see Params. To modify those parameters, use parse_with_params.

ยงErrors

Returns an error if the parsing fails, or if there are trailing data in the file that has not been parsed.