Function swc_css_parser::parse_str [−][src]
pub fn parse_str<'a, T>(
src: &'a str,
start_pos: BytePos,
end_pos: BytePos,
config: ParserConfig,
errors: &mut Vec<Error>
) -> PResult<T> where
Parser<Lexer<StringInput<'a>>>: Parse<T>,
Expand description
Parse a given string as T
.
If there are syntax errors but if it was recoverable, it will be appendend
to errors
.