artdecocode / typal

Keeps JSDoc types in XML files and converts them to JavaScript, Markdown and Closure Externs.

Home Page:https://typedef.page

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

write parser for jsdoc

zavr-1 opened this issue · comments

Change from a RegExp to a parser
2 problems ATM:

  • Can't check the record type in @param
    /** @param {{ record }} param
    
  • Matching the param name which starts the same as one of the previous params
    /**
     * @param {(Type | _ns.MissingType | _ns.Type)} union
     * @param {Type | MissingType} unionWithoutParenthesis