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.
This commit is contained in:
ChALkeR
2016-06-07 12:25:16 +03:00
parent 00ad57e393
commit 5cb5305cf3

View File

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