| 1 | import { encode } from 'sourcemap-codec'; |
| 2 | class BitSet { |
| 3 | constructor(arg) { |
| 4 | this.bits = arg instanceof BitSet ? arg.bits.slice() : []; |
| 5 | } |
| 6 | add(n2) { |
| 7 | this.bits[n2 >> 5] |= 1 << (n2 & 31); |
| 8 | } |
| 9 | has(n2) { |
| 10 | return !!(this.bits[n2 >> 5] & (1 << (n2 & 31))); |
| 11 | } |
| 12 | } |
| 13 | class Chunk { |
| 14 | constructor(start, end, content) { |
| 15 | this.start = start; |
nothing calls this directly
no outgoing calls
no test coverage detected