deno_std
deno_std copied to clipboard
feat(encoding/jsdoc): parse and stringify
- adds jsdoc
parse
andstringify
functions
I'm not supportive of this. JSDoc isn't really an encoding thing, like JSON or CSV. It is decoration on an AST and deno_doc handles it as part of an AST. Code generation off of an AST is totally different than a "stringify" of encoding too.
I agree with the upper comment, I don't think that this should be placed at the encoding folder too because like @kitsonk said, JSDoc isn't in fact related with encoding
@kitsonk are you not in favour of the module as a whole or just current location?
As a whole. deno_doc is where such parsing functionality should exist and codegen is a whole other kettle of fish.
@kitsonk Ok, I think deno_doc could be used for that purpose as well as deno_std/tools.
But could doc() add support for file paths next to urls? It works with file://
, so I guess local paths shouldn't be a problem?
Also, std/tools checks .rs files which are not supported by deno_doc. Is there a viable alternative to that?
Closing in favour deno doc.