Create a new parser for the given source code.
(source: &'src str, options: ParseOptions)
| 118 | impl<'src> Parser<'src> { |
| 119 | /// Create a new parser for the given source code. |
| 120 | pub(crate) fn new(source: &'src str, options: ParseOptions) -> Self { |
| 121 | Parser::new_starts_at(source, TextSize::new(0), options) |
| 122 | } |
| 123 | |
| 124 | /// Create a new parser for the given source code which starts parsing at the given offset. |
| 125 | pub(crate) fn new_starts_at( |
nothing calls this directly
no outgoing calls
no test coverage detected