Skip to main content

parse_rule_in

Function parse_rule_in 

Source
pub fn parse_rule_in(spec: &str, dir: Option<&Path>) -> Result<Query>
Expand description

Parse a rule (see the module docs). @PATH files are read relative to dir (the current directory when None).

ยงErrors

EngineError::Query for a syntax error, an invalid value, or a @PATH file that cannot be read or parsed.