Function simple_selectors::parse [] [src]

pub fn parse(selector: &str, labelmap: &LabelMap) -> Result<bool, ParseError>

this function will parse a selector and return its result. A (valid) selector will return a simple boolean indicating if the selector matched or not.