Parse the regular expression and return an abstract syntax tree with all of the comments found in the pattern.
(
&mut self,
pattern: &str,
)
| 348 | /// Parse the regular expression and return an abstract syntax tree with |
| 349 | /// all of the comments found in the pattern. |
| 350 | pub fn parse_with_comments( |
| 351 | &mut self, |
| 352 | pattern: &str, |
| 353 | ) -> Result<ast::WithComments> { |
| 354 | ParserI::new(self, pattern).parse_with_comments() |
| 355 | } |
| 356 | |
| 357 | /// Reset the internal state of a parser. |
| 358 | /// |