diff --git a/runtime/JavaScript/src/antlr4/index.node.js b/runtime/JavaScript/src/antlr4/index.node.js index 4d06196e90..504b5fa901 100644 --- a/runtime/JavaScript/src/antlr4/index.node.js +++ b/runtime/JavaScript/src/antlr4/index.node.js @@ -46,6 +46,7 @@ import RuleNode from "./tree/RuleNode.js" import TerminalNode from "./tree/TerminalNode.js" import arrayToString from "./utils/arrayToString.js" import TokenStreamRewriter from './TokenStreamRewriter.js'; +import InputMismatchException from "./error/InputMismatchException.js" export default { atn, dfa, context, misc, tree, error, Token, CommonToken, CharStreams, CharStream, InputStream, FileStream, CommonTokenStream, Lexer, Parser, @@ -57,5 +58,5 @@ export { RuleNode, TerminalNode, ParseTreeWalker, RuleContext, ParserRuleContext, Interval, IntervalSet, PredictionMode, LL1Analyzer, ParseTreeListener, ParseTreeVisitor, ATN, ATNDeserializer, PredictionContextCache, LexerATNSimulator, ParserATNSimulator, DFA, RecognitionException, NoViableAltException, FailedPredicateException, ErrorListener, DiagnosticErrorListener, BailErrorStrategy, DefaultErrorStrategy, - arrayToString, TokenStreamRewriter + arrayToString, TokenStreamRewriter, InputMismatchExce } diff --git a/runtime/JavaScript/src/antlr4/index.web.js b/runtime/JavaScript/src/antlr4/index.web.js index 3965b941d1..f0e1778b8e 100644 --- a/runtime/JavaScript/src/antlr4/index.web.js +++ b/runtime/JavaScript/src/antlr4/index.web.js @@ -45,6 +45,7 @@ import RuleNode from "./tree/RuleNode.js" import TerminalNode from "./tree/TerminalNode.js" import arrayToString from "./utils/arrayToString.js" import TokenStreamRewriter from './TokenStreamRewriter.js'; +import InputMismatchException from "./error/InputMismatchException.js" export default { atn, dfa, context, misc, tree, error, Token, CommonToken, CharStreams, CharStream, InputStream, CommonTokenStream, Lexer, Parser, @@ -56,5 +57,5 @@ export { RuleNode, TerminalNode, ParseTreeWalker, RuleContext, ParserRuleContext, Interval, IntervalSet, PredictionMode, LL1Analyzer, ParseTreeListener, ParseTreeVisitor, ATN, ATNDeserializer, PredictionContextCache, LexerATNSimulator, ParserATNSimulator, DFA, RecognitionException, NoViableAltException, FailedPredicateException, ErrorListener, DiagnosticErrorListener, BailErrorStrategy, DefaultErrorStrategy, - arrayToString, TokenStreamRewriter + arrayToString, TokenStreamRewriter, InputMismatchException }