/// Parses a core selector (component + tree + property). It accepts both raw selectors or
/// selectors wrapped in double quotes. Selectors wrapped in quotes accept spaces in the tree and
/// property names and require internal quotes to be escaped.
Parses a core selector (component + tree + property). It accepts both raw selectors or
selectors wrapped in double quotes. Selectors wrapped in quotes accept spaces in the tree and
property names and require internal quotes to be escaped.
Parses a core selector ( component + tree + property ) . It accepts both raw selectors or selectors wrapped in double quotes . Selectors wrapped in quotes accept spaces in the tree and property names and require internal quotes to be escaped .
fn core_selector<'a, E>(
    input: &'a str,
) -> IResult<&'a str, (ComponentSelector<'a>, TreeSelector<'a>), E>
where
    E: NomParseError<&'a str>,
{
    let (rest, (component, _, tree)) = tuple((component_selector, tag(":"), tree_selector))(input)?;
    Ok((rest, (component, tree)))
}
fn core_selector < ' a , E > ( input : & ' a str , ) -> IResult < & ' a str , ( ComponentSelector < ' a > , TreeSelector < ' a > ) , E > where E : NomParseError < & ' a str > , { let ( rest , ( component , _ , tree ) ) = tuple ( ( component_selector , tag ( " " ) , tree_selector ) ) ( input ) ? ; Ok ( ( rest , ( component , tree ) ) ) }
Parses a core selector (component + tree + property).
Parses a core selector ( component + tree + property ) .
input
&'a str