Function commentParserToESTree
- comment
Parser (jsdoc, mode, opts?): JsdocBlockToESTree Parameters
- jsdoc: JsdocBlockWithInline
- mode: ParseMode
Optional
opts: {
spacing?: "compact" | "preserve";
throwOnTypeParsingErrors?: boolean;
}Optional
spacing?: "compact" | "preserve"By default, empty lines are compacted; set to 'preserve' to preserve empty comment lines.
Optional
throwOn ?: booleanType Parsing Errors
Returns JsdocBlock
Converts comment parser AST to ESTree format.