@jqassistant/ts-lce
Version:
Tool to extract language concepts from a TypeScript codebase and export them to a JSON file.
24 lines (23 loc) • 783 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.LCEFunctionDeclaration = void 0;
const concept_1 = require("../concept");
class LCEFunctionDeclaration extends concept_1.LCENamedConcept {
functionName;
parameters;
returnType;
async;
typeParameters;
coordinates;
static conceptId = "function-declaration";
constructor(functionName, fqn, parameters, returnType, async, typeParameters, coordinates) {
super(fqn);
this.functionName = functionName;
this.parameters = parameters;
this.returnType = returnType;
this.async = async;
this.typeParameters = typeParameters;
this.coordinates = coordinates;
}
}
exports.LCEFunctionDeclaration = LCEFunctionDeclaration;