Press n or j to go to the next uncovered block, b, p or k for the previous block.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 | 263x 263x 263x 263x 114x 200x 77x 93x 93x 1x | class Group { constructor(value, start, end, children) { this._value = value this._start = start this._end = end this._children = children } get value() { return this._value } get start() { return this._start } get end() { return this._end } get children() { return this._children } get values() { return (this.children.length === 0 ? [this] : this.children) .map(g => g.value) .filter(v => v !== undefined) } } module.exports = Group |