2019-05-16 07:47:26 +00:00
|
|
|
// Horrible, horrible, horrible, horrible hack to get hold of (a) the
|
|
|
|
// Parser and (b) various flags and non-exported values from
|
|
|
|
// babel-parser/src/parser/index.js.
|
2018-11-01 15:20:20 +00:00
|
|
|
|
|
|
|
exports._original_Parser = Parser;
|
|
|
|
exports.__getParser = function () {
|
|
|
|
return Parser;
|
|
|
|
};
|
|
|
|
exports.__setParser = function (newParser) {
|
|
|
|
Parser = newParser;
|
|
|
|
};
|
2019-05-16 07:47:26 +00:00
|
|
|
|
|
|
|
exports.BIND_LEXICAL = BIND_LEXICAL;
|