refactored LexerATNSimulator.js to use es6 classes

use const/let for better scoping
fix: dont wrap class in object for export
This commit is contained in:
Camilo Roca 2020-03-06 22:12:49 +01:00
parent 9aeac6d4f4
commit d1dce9e700
2 changed files with 625 additions and 611 deletions

File diff suppressed because it is too large Load Diff

View File

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