dgeni-packages
Version:
A collection of dgeni packages for generating documentation from source code
13 lines • 521 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.Location = void 0;
const typescript_1 = require("typescript");
class Location {
constructor(declaration) {
const sourceFile = declaration.getSourceFile();
this.start = (0, typescript_1.getLineAndCharacterOfPosition)(sourceFile, declaration.pos);
this.end = (0, typescript_1.getLineAndCharacterOfPosition)(sourceFile, declaration.end);
}
}
exports.Location = Location;
//# sourceMappingURL=Location.js.map