Function swc_css_parser::parse_tokens[][src]

pub fn parse_tokens<'a, T>(
    tokens: &'a Tokens,
    config: ParserConfig,
    errors: &mut Vec<Error>
) -> PResult<T> where
    Parser<TokensInput<'a>>: Parse<T>, 
Expand description

Parse a given file as T.

If there are syntax errors but if it was recoverable, it will be appendend to errors.