pub fn parse(input: &str) -> Result<YaraFile, Error>
Parse a YARA file.
Returns an error if the parsing fails, or if there are trailing data in the file that has not been parsed.