UNPKG

read-gedcom

Version:
21 lines 747 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.SelectionName = void 0; const parse_1 = require("../parse"); const internal_1 = require("./internal"); class SelectionName extends internal_1.SelectionNamePieces { valueAsParts() { return this.value().map(parse_1.parseNameParts); } getType() { return this.get("TYPE" /* Tag.Type */); } getNamePhonetization() { return this.get("FONE" /* Tag.Phonetic */, null, internal_1.SelectionNamePhonetization); } getNameRomanization() { return this.get("FONE" /* Tag.Phonetic */, null, internal_1.SelectionNameRomanization); } } exports.SelectionName = SelectionName; //# sourceMappingURL=SelectionName.js.map