diff options
author | ChALkeR <chalkerx@gmail.com> | 2016-06-07 12:25:16 +0300 |
---|---|---|
committer | ChALkeR <chalkerx@gmail.com> | 2016-06-07 12:25:16 +0300 |
commit | 5cb5305cf3a4dc075461630d5edd81cbfd04b9fc (patch) | |
tree | 1a594ac46700d8edc615644aeaf6ec925f6cb404 | |
parent | 00ad57e393be6593c9a405c8b1277582361bd321 (diff) | |
download | tracifyjs-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.
-rw-r--r-- | tools/exports.js | 1 |
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; |