MCPcopy Create free account
hub / github.com/Rich-Harris/magic-string / p

Class p

benchmark/data-min.js:2–12  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import { encode as k } from 'sourcemap-codec';
2class p {
3 constructor(t) {
4 this.bits = t instanceof p ? t.bits.slice() : [];
5 }
6 add(t) {
7 this.bits[t >> 5] |= 1 << (t & 31);
8 }
9 has(t) {
10 return !!(this.bits[t >> 5] & (1 << (t & 31)));
11 }
12}
13class g {
14 constructor(t, e, n) {
15 ((this.start = t),

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected