export DFA and DiagnosticErrorListener directly instead of wrapping it on an anonymous object
This commit is contained in:
parent
96c2eb6a51
commit
20cbfc5a0a
|
@ -159,4 +159,4 @@ class DFA {
|
|||
}
|
||||
|
||||
|
||||
module.exports = { DFA };
|
||||
module.exports = DFA;
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
* can be found in the LICENSE.txt file in the project root.
|
||||
*/
|
||||
|
||||
exports.DFA = require('./DFA').DFA;
|
||||
exports.DFA = require('./DFA');
|
||||
exports.DFASerializer = require('./DFASerializer').DFASerializer;
|
||||
exports.LexerDFASerializer = require('./DFASerializer').LexerDFASerializer;
|
||||
exports.PredPrediction = require('./DFAState').PredPrediction;
|
||||
|
|
|
@ -102,4 +102,4 @@ class DiagnosticErrorListener extends ErrorListener {
|
|||
}
|
||||
}
|
||||
|
||||
module.exports = {DiagnosticErrorListener}
|
||||
module.exports = DiagnosticErrorListener
|
||||
|
|
|
@ -8,6 +8,6 @@ module.exports.NoViableAltException = require('./Errors').NoViableAltException;
|
|||
module.exports.LexerNoViableAltException = require('./Errors').LexerNoViableAltException;
|
||||
module.exports.InputMismatchException = require('./Errors').InputMismatchException;
|
||||
module.exports.FailedPredicateException = require('./Errors').FailedPredicateException;
|
||||
module.exports.DiagnosticErrorListener = require('./DiagnosticErrorListener').DiagnosticErrorListener;
|
||||
module.exports.DiagnosticErrorListener = require('./DiagnosticErrorListener');
|
||||
module.exports.BailErrorStrategy = require('./ErrorStrategy').BailErrorStrategy;
|
||||
module.exports.ErrorListener = require('./ErrorListener').ErrorListener;
|
||||
|
|
Loading…
Reference in New Issue