@atjson/hir
Advanced tools
Comparing version 0.21.9 to 0.21.10
@@ -6,2 +6,6 @@ # Change Log | ||
## [0.21.10](https://github.com/CondeNast/atjson/compare/@atjson/hir@0.21.9...@atjson/hir@0.21.10) (2019-12-19) | ||
**Note:** Version bump only for package @atjson/hir | ||
## [0.21.9](https://github.com/CondeNast/atjson/compare/@atjson/hir@0.21.8...@atjson/hir@0.21.9) (2019-12-11) | ||
@@ -8,0 +12,0 @@ |
@@ -7,6 +7,3 @@ "use strict"; | ||
if (Array.isArray(attribute)) { | ||
return attribute.map(attr => { | ||
let result = toJSON(attr); | ||
return result; | ||
}); | ||
return attribute.map(toJSON); | ||
} | ||
@@ -20,3 +17,4 @@ else if (attribute instanceof document_1.default) { | ||
else if (typeof attribute === "object") { | ||
return Object.keys(attribute).reduce((copy, key) => { | ||
let copy = {}; | ||
for (let key in attribute) { | ||
let value = attribute[key]; | ||
@@ -29,4 +27,4 @@ if (value == null) { | ||
} | ||
return copy; | ||
}, {}); | ||
} | ||
return copy; | ||
} | ||
@@ -37,2 +35,5 @@ else { | ||
} | ||
function isNotParseAnnotation(node) { | ||
return !(node.annotation instanceof document_1.ParseAnnotation); | ||
} | ||
class HIRNode { | ||
@@ -67,3 +68,3 @@ constructor(annotation) { | ||
attributes: toJSON(this.annotation.attributes), | ||
children: this.children(options).map(child => { | ||
children: this.children(options).map(function toJSONWithOptions(child) { | ||
return child.toJSON(options); | ||
@@ -77,3 +78,3 @@ }) | ||
if (!options || !options.includeParseTokens) { | ||
children = children.filter(node => !(node.annotation instanceof document_1.ParseAnnotation)); | ||
children = children.filter(isNotParseAnnotation); | ||
} | ||
@@ -279,2 +280,2 @@ return children; | ||
exports.default = HIRNode; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaGlyLW5vZGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi9zcmMvaGlyLW5vZGUudHMiXSwibmFtZXMiOltdLCJtY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ENBQUMsVUFBVSxZQUFZLGtCQUFJLElBQUksT0FBTyxDQUFDLElBQUksS0FBSyxRQUFRLEVBQUU7WUFDaEUsT0FBTztTQUNSO1FBRUQsT0FBTyxPQUFPLENBQUM7SUFDakIsQ0FBQztDQUNGO0FBclNELDBCQXFTQyJ9 |
@@ -5,11 +5,24 @@ "use strict"; | ||
const hir_node_1 = require("./hir-node"); | ||
function compareAnnotations(a, b) { | ||
if (a.start === b.start) { | ||
if (a.type === b.type) { | ||
return a.end - b.end; | ||
} | ||
else { | ||
return b.end - b.start - (a.end - a.start); | ||
} | ||
} | ||
else { | ||
return a.start - b.start; | ||
} | ||
} | ||
class HIR { | ||
constructor(doc) { | ||
let document = doc.clone(); | ||
document.annotations | ||
.filter(a => a.start === a.end) | ||
.forEach(a => { | ||
document.insertText(a.start, "\uFFFC"); | ||
a.start = Math.max(0, a.start - 1); | ||
}); | ||
for (let a of document.annotations) { | ||
if (a.start === a.end) { | ||
document.insertText(a.start, "\uFFFC"); | ||
a.start = Math.max(0, a.start - 1); | ||
} | ||
} | ||
this.rootNode = new hir_node_1.default(new annotations_1.Root({ | ||
@@ -20,17 +33,5 @@ start: 0, | ||
})); | ||
document.annotations | ||
.sort((a, b) => { | ||
if (a.start === b.start) { | ||
if (a.type === b.type) { | ||
return a.end - b.end; | ||
} | ||
else { | ||
return b.end - b.start - (a.end - a.start); | ||
} | ||
} | ||
else { | ||
return a.start - b.start; | ||
} | ||
}) | ||
.forEach((annotation) => this.rootNode.insertAnnotation(annotation)); | ||
for (let annotation of document.annotations.sort(compareAnnotations)) { | ||
this.rootNode.insertAnnotation(annotation); | ||
} | ||
this.rootNode.insertText(document.content); | ||
@@ -43,2 +44,2 @@ } | ||
exports.default = HIR; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaGlyLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vc3JjL2hpci50cyJdLCJuYW1lcyI6W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UFDLElBQUksQ0FBQyxrQkFBa0IsQ0FBQyxFQUFFO1lBQ3BFLElBQUksQ0FBQyxRQUFRLENBQUMsZ0JBQWdCLENBQUMsVUFBVSxDQUFDLENBQUM7U0FDNUM7UUFFRCxJQUFJLENBQUMsUUFBUSxDQUFDLFVBQVUsQ0FBQyxRQUFRLENBQUMsT0FBTyxDQUFDLENBQUM7SUFDN0MsQ0FBQztJQUVELE1BQU0sQ0FBQyxPQUF5QztRQUM5QyxPQUFPLElBQUksQ0FBQyxRQUFRLENBQUMsTUFBTSxDQUFDLE9BQU8sQ0FBQyxDQUFDO0lBQ3ZDLENBQUM7Q0FDRjtBQS9CRCxzQkErQkMifQ== |
@@ -5,6 +5,3 @@ import Document, { Annotation, ParseAnnotation } from "@atjson/document"; | ||
if (Array.isArray(attribute)) { | ||
return attribute.map(attr => { | ||
let result = toJSON(attr); | ||
return result; | ||
}); | ||
return attribute.map(toJSON); | ||
} | ||
@@ -18,3 +15,4 @@ else if (attribute instanceof Document) { | ||
else if (typeof attribute === "object") { | ||
return Object.keys(attribute).reduce((copy, key) => { | ||
let copy = {}; | ||
for (let key in attribute) { | ||
let value = attribute[key]; | ||
@@ -27,4 +25,4 @@ if (value == null) { | ||
} | ||
return copy; | ||
}, {}); | ||
} | ||
return copy; | ||
} | ||
@@ -35,2 +33,5 @@ else { | ||
} | ||
function isNotParseAnnotation(node) { | ||
return !(node.annotation instanceof ParseAnnotation); | ||
} | ||
export default class HIRNode { | ||
@@ -65,3 +66,3 @@ constructor(annotation) { | ||
attributes: toJSON(this.annotation.attributes), | ||
children: this.children(options).map(child => { | ||
children: this.children(options).map(function toJSONWithOptions(child) { | ||
return child.toJSON(options); | ||
@@ -75,3 +76,3 @@ }) | ||
if (!options || !options.includeParseTokens) { | ||
children = children.filter(node => !(node.annotation instanceof ParseAnnotation)); | ||
children = children.filter(isNotParseAnnotation); | ||
} | ||
@@ -276,2 +277,2 @@ return children; | ||
} | ||
//# sourceMappingURL=data:application/json;base64,e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yxVQUFVO2dCQUMzQixLQUFLLEVBQUUsUUFBUTtnQkFDZixHQUFHLEVBQUUsTUFBTTthQUNaLENBQUMsQ0FBQztRQUVULElBQUksT0FBTyxDQUFDLEtBQUssS0FBSyxPQUFPLENBQUMsR0FBRztZQUFFLE9BQU87UUFFMUMsSUFBSSxPQUFPLENBQUMsS0FBSyxHQUFHLE9BQU8sQ0FBQyxHQUFHLEVBQUU7WUFDL0IsTUFBTSxJQUFJLEtBQUssQ0FBQywyQ0FBMkMsQ0FBQyxDQUFDO1NBQzlEO1FBR0QsSUFBSSxJQUFJLENBQUMsVUFBVSxZQUFZLElBQUksSUFBSSxPQUFPLENBQUMsSUFBSSxLQUFLLFFBQVEsRUFBRTtZQUNoRSxPQUFPO1NBQ1I7UUFFRCxPQUFPLE9BQU8sQ0FBQztJQUNqQixDQUFDO0NBQ0YifQ== |
import { Root } from "./annotations"; | ||
import HIRNode from "./hir-node"; | ||
function compareAnnotations(a, b) { | ||
if (a.start === b.start) { | ||
if (a.type === b.type) { | ||
return a.end - b.end; | ||
} | ||
else { | ||
return b.end - b.start - (a.end - a.start); | ||
} | ||
} | ||
else { | ||
return a.start - b.start; | ||
} | ||
} | ||
export default class HIR { | ||
constructor(doc) { | ||
let document = doc.clone(); | ||
document.annotations | ||
.filter(a => a.start === a.end) | ||
.forEach(a => { | ||
document.insertText(a.start, "\uFFFC"); | ||
a.start = Math.max(0, a.start - 1); | ||
}); | ||
for (let a of document.annotations) { | ||
if (a.start === a.end) { | ||
document.insertText(a.start, "\uFFFC"); | ||
a.start = Math.max(0, a.start - 1); | ||
} | ||
} | ||
this.rootNode = new HIRNode(new Root({ | ||
@@ -17,17 +30,5 @@ start: 0, | ||
})); | ||
document.annotations | ||
.sort((a, b) => { | ||
if (a.start === b.start) { | ||
if (a.type === b.type) { | ||
return a.end - b.end; | ||
} | ||
else { | ||
return b.end - b.start - (a.end - a.start); | ||
} | ||
} | ||
else { | ||
return a.start - b.start; | ||
} | ||
}) | ||
.forEach((annotation) => this.rootNode.insertAnnotation(annotation)); | ||
for (let annotation of document.annotations.sort(compareAnnotations)) { | ||
this.rootNode.insertAnnotation(annotation); | ||
} | ||
this.rootNode.insertText(document.content); | ||
@@ -39,2 +40,2 @@ } | ||
} | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaGlyLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vc3JjL2hpci50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFDQSxPQUFPLEVBQUUsSUFBSSxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQ3JDLE9BQU8sT0FBTyxNQUFNLFlBQVksQ0FBQztBQUVqQyxNQUFNLENBQUMsT0FBTyxPQUFPLEdBQUc7SUFHdEIsWUFBWSxHQUFhO1FBQ3ZCLElBQUksUUFBUSxHQUFhLEdBQUcsQ0FBQyxLQUFLLEVBQUUsQ0FBQztRQUVyQyxRQUFRLENBQUMsV0FBVzthQUNqQixNQUFNLENBQUMsQ0FBQyxDQUFDLEVBQUUsQ0FBQyxDQUFDLENBQUMsS0FBSyxLQUFLLENBQUMsQ0FBQyxHQUFHLENBQUM7YUFDOUIsT0FBTyxDQUFDLENBQUMsQ0FBQyxFQUFFO1lBQ1gsUUFBUSxDQUFDLFVBQVUsQ0FBQyxDQUFDLENBQUMsS0FBSyxFQUFFLFFBQVEsQ0FBQyxDQUFDO1lBQ3ZDLENBQUMsQ0FBQyxLQUFLLEdBQUcsSUFBSSxDQUFDLEdBQUcsQ0FBQyxDQUFDLEVBQUUsQ0FBQyxDQUFDLEtBQUssR0FBRyxDQUFDLENBQUMsQ0FBQztRQUNyQyxDQUFDLENBQUMsQ0FBQztRQUVMLElBQUksQ0FBQyxRQUFRLEdBQUcsSUFBSSxPQUFPLENBQ3pCLElBQUksSUFBSSxDQUFDO1lBQ1AsS0FBSyxFQUFFLENBQUM7WUFDUixHQUFHLEVBQUUsUUFBUSxD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EsQ0FBQyxDQUFDO2dCQUN2QyxDQUFDLENBQUMsS0FBSyxHQUFHLElBQUksQ0FBQyxHQUFHLENBQUMsQ0FBQyxFQUFFLENBQUMsQ0FBQyxLQUFLLEdBQUcsQ0FBQyxDQUFDLENBQUM7YUFDcEM7U0FDRjtRQUVELElBQUksQ0FBQyxRQUFRLEdBQUcsSUFBSSxPQUFPLENBQ3pCLElBQUksSUFBSSxDQUFDO1lBQ1AsS0FBSyxFQUFFLENBQUM7WUFDUixHQUFHLEVBQUUsUUFBUSxDQUFDLE9BQU8sQ0FBQyxNQUFNO1lBQzVCLFVBQVUsRUFBRSxFQUFFO1NBQ2YsQ0FBQyxDQUNILENBQUM7UUFFRixLQUFLLElBQUksVUFBVSxJQUFJLFFBQVEsQ0FBQyxXQUFXLENBQUMsSUFBSSxDQUFDLGtCQUFrQixDQUFDLEVBQUU7WUFDcEUsSUFBSSxDQUFDLFFBQVEsQ0FBQyxnQkFBZ0IsQ0FBQyxVQUFVLENBQUMsQ0FBQztTQUM1QztRQUVELElBQUksQ0FBQyxRQUFRLENBQUMsVUFBVSxDQUFDLFFBQVEsQ0FBQyxPQUFPLENBQUMsQ0FBQztJQUM3QyxDQUFDO0lBRUQsTUFBTSxDQUFDLE9BQXlDO1FBQzlDLE9BQU8sSUFBSSxDQUFDLFFBQVEsQ0FBQyxNQUFNLENBQUMsT0FBTyxDQUFDLENBQUM7SUFDdkMsQ0FBQztDQUNGIn0= |
{ | ||
"name": "@atjson/hir", | ||
"version": "0.21.9", | ||
"version": "0.21.10", | ||
"description": "Libraries for annotated JSON documents", | ||
@@ -22,3 +22,3 @@ "contributors": [ | ||
"devDependencies": { | ||
"@atjson/document": "0.22.6" | ||
"@atjson/document": "0.22.7" | ||
}, | ||
@@ -28,3 +28,3 @@ "peerDependencies": { | ||
}, | ||
"gitHead": "03ff8107c0aeadc725128dd49331279f195cf908" | ||
"gitHead": "9c35a0be3a2cda94633c3ddf9b8128cd9c7c00f1" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
841
405526