@jqassistant/ts-lce
Version:
Tool to extract language concepts from a TypeScript codebase and export them to a JSON file.
22 lines (21 loc) • 669 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.LCEVariableDeclaration = void 0;
const concept_1 = require("../concept");
class LCEVariableDeclaration extends concept_1.LCENamedConcept {
variableName;
kind;
type;
initValue;
coordinates;
static conceptId = "variable-declaration";
constructor(variableName, fqn, kind, type, initValue, coordinates) {
super(fqn);
this.variableName = variableName;
this.kind = kind;
this.type = type;
this.initValue = initValue;
this.coordinates = coordinates;
}
}
exports.LCEVariableDeclaration = LCEVariableDeclaration;