From f918188be683e46e9df5b26e9e0a5c465e4dcdba Mon Sep 17 00:00:00 2001 From: Francisco Rodriguez Elorza Date: Mon, 18 Nov 2024 16:01:36 -0800 Subject: [PATCH] Remove write methos on BitSet --- runtime/JavaScript/src/antlr4/misc/BitSet.d.ts | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) diff --git a/runtime/JavaScript/src/antlr4/misc/BitSet.d.ts b/runtime/JavaScript/src/antlr4/misc/BitSet.d.ts index 9c3cca88ef..a3a74ee966 100644 --- a/runtime/JavaScript/src/antlr4/misc/BitSet.d.ts +++ b/runtime/JavaScript/src/antlr4/misc/BitSet.d.ts @@ -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; minValue(): number; @@ -22,9 +14,5 @@ export declare class BitSet { toString(): string; - _resize(index: number): void; - - static _checkIndex(index: number): void; - static _bitCount(l: number): number; }