Function swc_css_parser::parse_string_input
source · pub fn parse_string_input<'a, 'b, T>(
input: StringInput<'a>,
comments: Option<&'b dyn Comments>,
config: ParserConfig,
errors: &mut Vec<Error>
) -> PResult<T>where
Parser<Lexer<'b, StringInput<'a>>>: Parse<T>,
Expand description
Parse a given StringInput as T
.
If there are syntax errors but if it was recoverable, it will be appended
to errors
.