Skip to content

Refactor Parser and Parser.Builder - #452

Open
ani28-bit wants to merge 2 commits into
commonmark:mainfrom
ani28-bit:refactor-parser
Open

Refactor Parser and Parser.Builder#452
ani28-bit wants to merge 2 commits into
commonmark:mainfrom
ani28-bit:refactor-parser

Conversation

@ani28-bit

Copy link
Copy Markdown

Summary

This PR refactors the parser implementation to improve readability and maintainability without changing functionality.

Changes

  • Refactored the duplicated parsing workflow in Parser.
  • Extracted extension handling, validation, and inline parser factory logic from Parser.Builder.

Verification

  • All existing tests pass successfully with mvn test.
  • No external behavior or API changes were introduced.

注册 for free to join this conversation on GitHub. Already have an account? 登录 to comment

标签

None yet

项目

None yet

Development

Successfully merging this pull request may close these issues.

1 participant