dox
dox copied to clipboard
Parsing fails with no indication of which file is broken
I had a function with JSDoc, where I forgot to specify type of object for input parameter, like below
/** Some function @param {} timeout */
While generating a document, parser failed, but it didn't indicate where
node_modules/jsdoctypeparser/lib/index.js:48 throw new Lexer.SyntaxError(e.message, typeExp, e.offset); ^ TypeLexerSyntaxError: Expected "!", "(", "*", "...", "=", "?", "function", "module", "{" or [a-zA-Z_$] but " " found.:
@tj I am also facing same. Is this package still maintained?
@ShivamJoker TJ has not been the active maintainer for a long long time. The 0.x version is not extensively being maintained, largely because I haven't had the motivation to update it for the changes in jsdoctypeparser, and no one else has submitted a PR.
I am working on a complete rewrite of the project in my spare time, which will eventually become 1.0, but I don't know how long that will take.