refactored antlr/tree exports to use es6 destructuring

This commit is contained in:
Camilo Roca 2020-02-16 21:58:24 +01:00
parent 6764f53024
commit 1c946ce605
1 changed files with 3 additions and 6 deletions

View File

@ -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}