ngrx-uml
Version:
NGRX to Plant UML diagram
31 lines (30 loc) • 814 B
JavaScript
Object.defineProperty(exports, "__esModule", { value: true });
exports.Action = void 0;
const type_kind_enum_1 = require("../../core/converters/models/type-kind.enum");
class Action {
constructor(name, filePath, pos, end) {
this.name = name;
this.filePath = filePath;
this.pos = pos;
this.end = end;
this.kind = type_kind_enum_1.TypeKind.Action;
this.kindText = 'Action';
}
setName(variableName) {
this.variable = variableName;
}
getExportName() {
return this.name;
}
addReference(reference) {
if (!this.references) {
this.references = [];
}
this.references.push(reference);
}
getChildren() {
return this.references || [];
}
}
exports.Action = Action;
;