refactored PredictionMode.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:
parent
7f271a1fc0
commit
21538ebb59
|
@ -15,7 +15,7 @@ const {Token} = require('./../Token');
|
|||
const {DFAState} = require('./../dfa/DFAState');
|
||||
const {PredPrediction} = require('./../dfa/DFAState');
|
||||
const ATNSimulator = require('./ATNSimulator');
|
||||
const {PredictionMode} = require('./PredictionMode');
|
||||
const PredictionMode = require('./PredictionMode');
|
||||
const RuleContext = require('./../RuleContext');
|
||||
const {ParserRuleContext} = require('./../ParserRuleContext');
|
||||
const {SemanticContext} = require('./SemanticContext');
|
||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -7,4 +7,4 @@ exports.ATN = require('./ATN');
|
|||
exports.ATNDeserializer = require('./ATNDeserializer');
|
||||
exports.LexerATNSimulator = require('./LexerATNSimulator');
|
||||
exports.ParserATNSimulator = require('./ParserATNSimulator');
|
||||
exports.PredictionMode = require('./PredictionMode').PredictionMode;
|
||||
exports.PredictionMode = require('./PredictionMode');
|
||||
|
|
Loading…
Reference in New Issue