Function selectors::parser::parse_type_selector
source ยท fn parse_type_selector<'i, 't, P, Impl, S>(
parser: &P,
input: &mut Parser<'i, 't>,
state: SelectorParsingState,
sink: &mut S,
) -> Result<bool, ParseError<'i, P::Error>>
Expand description
Err(())
: Invalid selector, abortOk(false)
: Not a type selector, could be something else.input
was not consumed.Ok(true)
: Length 0 (*|*
), 1 (*|E
orns|*
) or 2 (|E
orns|E
)