Function swc_css_parser::parse_input

source ยท
pub fn parse_input<'a, T>(
    input: InputType<'a>,
    config: ParserConfig,
    errors: &mut Vec<Error>,
) -> PResult<T>
where Parser<Input<'a>>: Parse<T>,
Expand description

Parse a given file as T.

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