alexprey / sveltedoc-parser

Generate a JSON documentation for a Svelte (https://github.com/sveltejs/svelte) component
https://www.npmjs.com/package/sveltedoc-parser
MIT License
89 stars 7 forks source link

#53 refactor v3 parser #56

Closed soft-decay closed 3 years ago

soft-decay commented 3 years ago

The parser has been split into two sub-parsers:

Both sub-parsers emit events that are caught by the main Parser:

alexprey commented 3 years ago

Have a nice day @soft-decay! I add more changes to this PR and now it can be merge-ready. Can you also review changes and if you happy with it too, like me, you can uncheck WIP status and I merge it

soft-decay commented 3 years ago

Yes everything seems good. I think it's ready for merging.

alexprey commented 3 years ago

@soft-decay good job, thaks a lot!