aboutsummaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorChALkeR <chalkerx@gmail.com>2016-06-07 12:25:16 +0300
committerChALkeR <chalkerx@gmail.com>2016-06-07 12:25:16 +0300
commit5cb5305cf3a4dc075461630d5edd81cbfd04b9fc (patch)
tree1a594ac46700d8edc615644aeaf6ec925f6cb404 /tools
parent00ad57e393be6593c9a405c8b1277582361bd321 (diff)
downloadtracifyjs-5cb5305cf3a4dc075461630d5edd81cbfd04b9fc.tar.gz
tracifyjs-5cb5305cf3a4dc075461630d5edd81cbfd04b9fc.zip
Export tokenizer function
In uglify-js@1, both parser and tokenizer methods were exported This allows to use tokenizer() separately, e.g. to wrap or override it, as parse() method accepts not only text, but also tokenized functions.
Diffstat (limited to 'tools')
-rw-r--r--tools/exports.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/exports.js b/tools/exports.js
index 110b5c4e..09acc13e 100644
--- a/tools/exports.js
+++ b/tools/exports.js
@@ -14,5 +14,6 @@ exports["merge"] = merge;
exports["parse"] = parse;
exports["push_uniq"] = push_uniq;
exports["string_template"] = string_template;
+exports["tokenizer"] = tokenizer;
exports["is_identifier"] = is_identifier;
exports["SymbolDef"] = SymbolDef;