#! /usr/bin/env node
// -*- js -*-
+"use strict";
+
var UglifyJS = require("../tools/node");
var sys = require("util");
var optimist = require("optimist");
***********************************************************************/
+"use strict";
+
var NODE_HIERARCHY = {};
function DEFNODE(type, props, methods, base) {
***********************************************************************/
+"use strict";
+
function Compressor(options, false_by_default) {
if (!(this instanceof Compressor))
return new Compressor(options, false_by_default);
***********************************************************************/
+"use strict";
+
function OutputStream(options) {
options = defaults(options, {
***********************************************************************/
+"use strict";
+
var KEYWORDS = array_to_hash([
"break",
"case",
***********************************************************************/
+"use strict";
+
function SymbolDef(scope, orig) {
this.name = orig.name;
this.orig = [ orig ];
***********************************************************************/
+"use strict";
+
// a small wrapper around fitzgen's source-map library
function SourceMap(options) {
options = defaults(options, {
***********************************************************************/
+"use strict";
+
// Tree transformer helpers.
// XXX: eventually I should refactor the compressor to use this infrastructure.
***********************************************************************/
+"use strict";
+
function curry(f) {
var args = slice(arguments, 1);
return function() { return f.apply(this, args.concat(slice(arguments))); };