Function commentParserToESTree

    • Converts comment parser AST to ESTree format.

      Parameters

      • jsdoc: JsdocBlockWithInline
      • mode: ParseMode
      • Optionalopts: {
            spacing?: "compact" | "preserve";
            throwOnTypeParsingErrors?: boolean;
        }
        • Optionalspacing?: "compact" | "preserve"

          By default, empty lines are compacted; set to 'preserve' to preserve empty comment lines.

        • OptionalthrowOnTypeParsingErrors?: boolean

      Returns JsdocBlock