Skip to content

Commit

Permalink
Remove write methos on BitSet
Browse files Browse the repository at this point in the history
  • Loading branch information
Francisco Rodriguez Elorza committed Nov 19, 2024
1 parent 9f0b3f7 commit f918188
Showing 1 changed file with 1 addition and 13 deletions.
14 changes: 1 addition & 13 deletions runtime/JavaScript/src/antlr4/misc/BitSet.d.ts
Original file line number Diff line number Diff line change
@@ -1,17 +1,9 @@
export declare class BitSet {
private data: Uint32Array;
// write methods are not exposed based on this conversation https://github.com/antlr/antlr4/pull/4731#discussion_r1847139040
readonly length: number;

constructor();

set(index: number): void;

get(index: number): number;

clear(index: number): void;

or(set: BitSet): void;

values(): Array<number>;

minValue(): number;
Expand All @@ -22,9 +14,5 @@ export declare class BitSet {

toString(): string;

_resize(index: number): void;

static _checkIndex(index: number): void;

static _bitCount(l: number): number;
}

0 comments on commit f918188

Please sign in to comment.