refactored antlr/tree exports to use es6 destructuring
This commit is contained in:
parent
6764f53024
commit
1c946ce605
|
@ -3,9 +3,6 @@
|
|||
* can be found in the LICENSE.txt file in the project root.
|
||||
*/
|
||||
|
||||
var Tree = require('./Tree');
|
||||
exports.Trees = require('./Trees');
|
||||
exports.RuleNode = Tree.RuleNode;
|
||||
exports.ParseTreeListener = Tree.ParseTreeListener;
|
||||
exports.ParseTreeVisitor = Tree.ParseTreeVisitor;
|
||||
exports.ParseTreeWalker = Tree.ParseTreeWalker;
|
||||
const Tree = require('./Tree');
|
||||
const Trees = require('./Trees');
|
||||
module.exports = {...Tree, Trees}
|
||||
|
|
Loading…
Reference in New Issue