refactored ParserATNSimulator.js to use es6 classes

use const/let for better scoping
use object destructuring
fix: dont wrap class in object for export
This commit is contained in:
Camilo Roca 2020-03-06 22:38:11 +01:00
parent d1dce9e700
commit 7f271a1fc0
2 changed files with 1597 additions and 1605 deletions

File diff suppressed because it is too large Load Diff

View File

@ -6,5 +6,5 @@
exports.ATN = require('./ATN');
exports.ATNDeserializer = require('./ATNDeserializer');
exports.LexerATNSimulator = require('./LexerATNSimulator');
exports.ParserATNSimulator = require('./ParserATNSimulator').ParserATNSimulator;
exports.ParserATNSimulator = require('./ParserATNSimulator');
exports.PredictionMode = require('./PredictionMode').PredictionMode;