UNPKG

express-autodoc

Version:

API documentation generator based on jsdoc comments for express

13 lines (10 loc) 284 B
class RouterLink{ constructor(filename, node, caller, callee){ this.filename = filename this.location = node.loc.start this.routerVariable = callee this.appVariable = caller this.path = node.expression?.arguments[0].value } } exports.RouterLink = RouterLink