Skip to content

Commit

Permalink
Add LexerNoViableAltException typescript class (#4711)
Browse files Browse the repository at this point in the history
Signed-off-by: Roman Lukash <[email protected]>
Co-authored-by: Roman Lukash <[email protected]>
  • Loading branch information
happytomatoe and happytomatoe authored Oct 6, 2024
1 parent 2a7904a commit ce2557f
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
13 changes: 13 additions & 0 deletions runtime/JavaScript/src/antlr4/error/LexerNoViableAltException.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
import {ATNConfigSet} from "../atn";
import {Recognizer} from "../Recognizer";
import { Token } from "../Token";
import {RecognitionException} from "./RecognitionException";

export declare class LexerNoViableAltException extends RecognitionException {

deadEndConfigs: ATNConfigSet;

constructor(recognizer: Recognizer<any>);

startIndex: number;
}
1 change: 1 addition & 0 deletions runtime/JavaScript/src/antlr4/error/index.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
export * from './RecognitionException';
export * from './LexerNoViableAltException';
export * from './NoViableAltException';
export * from './FailedPredicateException';
export * from './InputMismatchException';
Expand Down

0 comments on commit ce2557f

Please sign in to comment.