Skip to content

Commit

Permalink
Add missing Parser API in dts for javascript runtime
Browse files Browse the repository at this point in the history
Signed-off-by: Congcong Cai <[email protected]>
  • Loading branch information
HerrCai0907 committed Aug 31, 2023
1 parent e0df58f commit 77d5dc1
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion runtime/JavaScript/src/antlr4/Parser.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,5 +41,7 @@ export declare class Parser extends Recognizer<Token> {
setTokenStream(input: TokenStream): void;
notifyErrorListeners(msg: string, offendingToken: Token, err: RecognitionException | undefined): void;
getCurrentToken(): Token;

addParseListener(listener: any): void;
removeParseListener(listerner: any): void;
removeParseListeners(): void;
}

0 comments on commit 77d5dc1

Please sign in to comment.