Defined in: packages/megadoc-plugin-js/lib/Parser/Registry.js
A registry of all the docs and their AST nodes and paths.
This will look for an identifier that has a @lends entry. For example:
/** @lends Something * /
var helpers = {};
/** @module * /
var Something = {};
helpers.someProp = '5'; // <- at this path, we will locate "helpers"
// above
path | recast.path |
alias | String The name of the identifier. In the example above, this will be "helpers" (as this will be the receiver we parse during analysis.) |
lendEntry | Object |
Locate the closest @lend doc to a given path.
path | recast.path |
lendEntry | Object |
lendEntry.receiver | String The target of the @lends. |
lendEntry.scope | String Could be a "prototype" if |
Locate the first (if any) module doc whose path is an ancestor of the given path.
path | recast.path |
String The module ID. |
Made with ♥ using megadoc.