Lines Matching refs:UglifyJS
11 var UglifyJS = require("../tools/node");
56 print(UglifyJS.describe_ast());
62 var defaults = UglifyJS.default_options();
138 config.mangle.properties.regex = UglifyJS.parse(config.mangle.properties.regex, {
251 UglifyJS.AST_Node.log_function(print_error, options.warnings == "verbose");
267 if (paths.length) UglifyJS.AST_Node.warn("Ignoring input files since --self was passed");
269 paths = UglifyJS.FILES;
308 return UglifyJS.AST_Node.from_mozilla_ast(Object.keys(files).reduce(fn, null));
314 UglifyJS.AST_Node.info("Using input source map: {content}", {
347 files.walk(new UglifyJS.TreeWalker(function(node) {
348 if (!(node instanceof UglifyJS.AST_Call)) return;
381 result = UglifyJS.minify(files, options);
414 if (!(toplevel instanceof UglifyJS.AST_Toplevel)) {
415 … if (!(toplevel instanceof UglifyJS.AST_Statement)) toplevel = new UglifyJS.AST_SimpleStatement({
418 toplevel = new UglifyJS.AST_Toplevel({
436 if (value instanceof UglifyJS.AST_Token) return;
437 if (value instanceof UglifyJS.Dictionary) return;
438 if (value instanceof UglifyJS.AST_Node) {
458 … code = UglifyJS.AST_Node.from_mozilla_ast(result.ast.to_mozilla_ast()).print_to_string(opts);
535 UglifyJS.parse(value, {
537 }).walk(new UglifyJS.TreeWalker(function(node) {
538 if (node instanceof UglifyJS.AST_Assign) {
543 } else if (value instanceof UglifyJS.AST_Array) {
550 if (node instanceof UglifyJS.AST_Symbol || node instanceof UglifyJS.AST_PropAccess) {
555 if (!(node instanceof UglifyJS.AST_Sequence)) throw node;
558 … return value instanceof UglifyJS.AST_Constant ? value.value : value.print_to_string({