UNPKG

ngrx-uml

Version:
29 lines (28 loc) 931 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.isRegisteredReducerItem = exports.RegisteredReducerItem = void 0; const models_1 = require("../../../core/converters/models"); class RegisteredReducerItem { constructor(name, filePath, pos, end) { this.name = name; this.filePath = filePath; this.pos = pos; this.end = end; this.kind = models_1.TypeKind.RegisteredReducer; this.kindText = 'RegisteredReducer'; } setName(_name) { throw new Error('Method not implemented.'); } getExportName() { throw new Error('Method not implemented.'); } getChildren() { return []; } } exports.RegisteredReducerItem = RegisteredReducerItem; function isRegisteredReducerItem(object) { return object.kind === models_1.TypeKind.RegisteredReducer; } exports.isRegisteredReducerItem = isRegisteredReducerItem;