@jqassistant/ts-lce
Version:
Tool to extract language concepts from a TypeScript codebase and export them to a JSON file.
34 lines (33 loc) • 1.15 kB
JavaScript
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.LCEClassDeclaration = void 0;
const concept_1 = require("../concept");
class LCEClassDeclaration extends concept_1.LCENamedConcept {
className;
abstract;
typeParameters;
extendsClass;
implementsInterfaces;
constr;
properties;
methods;
accessorProperties;
decorators;
coordinates;
static conceptId = "class-declaration";
constructor(className, fqn, abstract, typeParameters, extendsClass, implementsInterfaces, constr, properties, methods, accessorProperties, decorators, coordinates) {
super(fqn);
this.className = className;
this.abstract = abstract;
this.typeParameters = typeParameters;
this.extendsClass = extendsClass;
this.implementsInterfaces = implementsInterfaces;
this.constr = constr;
this.properties = properties;
this.methods = methods;
this.accessorProperties = accessorProperties;
this.decorators = decorators;
this.coordinates = coordinates;
}
}
exports.LCEClassDeclaration = LCEClassDeclaration;