Lines Matching full:if
4 if (typeof Buffer == "undefined") {
7 } else if (typeof Buffer.alloc == "undefined") {
27 if (comment.type != "comment1") break;
29 if (!match) break;
30 if (match[1] == "sourceMappingURL") {
32 if (!match) break;
51 if (options[key]) {
52 if (typeof options[key] != "object") options[key] = {};
53 if (!(name in options[key])) options[key][name] = options[name];
59 if (!cache) return;
60 if (!("props" in cache)) {
62 } else if (!(cache.props instanceof Dictionary)) {
99 if (options.validate) AST_Node.enable_validation();
101 …if (options.annotations !== undefined) set_shorthand("annotations", options, [ "compress", "output…
102 if (options.expression) set_shorthand("expression", options, [ "compress", "parse" ]);
103 if (options.ie8) options.ie = options.ie || options.ie8;
104 if (options.ie) set_shorthand("ie", options, [ "compress", "mangle", "output", "rename" ]);
105 … if (options.keep_fargs) set_shorthand("keep_fargs", options, [ "compress", "mangle", "rename" ]);
106 …if (options.keep_fnames) set_shorthand("keep_fnames", options, [ "compress", "mangle", "rename" ]);
107 if (options.module) set_shorthand("module", options, [ "compress", "parse" ]);
108 … if (options.toplevel) set_shorthand("toplevel", options, [ "compress", "mangle", "rename" ]);
109 if (options.v8) set_shorthand("v8", options, [ "mangle", "output", "rename" ]);
110 …if (options.webkit) set_shorthand("webkit", options, [ "compress", "mangle", "output", "rename" ]);
112 if (options.mangle) {
125 if (options.mangle.properties) {
126 if (typeof options.mangle.properties != "object") {
129 if (options.mangle.properties.keep_quoted) {
131 if (!Array.isArray(quoted_props)) quoted_props = [];
134 if (options.nameCache && !("cache" in options.mangle.properties)) {
141 if (options.rename === undefined) options.rename = options.compress && options.mangle;
142 if (options.sourceMap) {
153 if (options.warnings) AST_Node.log_function(function(warning) {
156 if (timings) timings.parse = Date.now();
159 if (files instanceof AST_Node) {
162 if (typeof files == "string") files = [ files ];
165 if (typeof source_map_content == "string" && source_map_content != "inline") {
168 if (source_map_content) options.sourceMap.orig = Object.create(null);
169 for (var name in files) if (HOP(files, name)) {
172 if (source_map_content == "inline") {
174 … if (inlined_content) options.sourceMap.orig[name] = parse_source_map(inlined_content);
175 } else if (source_map_content) {
180 if (options.parse.expression) toplevel = toplevel.wrap_expression();
181 if (quoted_props) reserve_quoted_keys(toplevel, quoted_props);
184 if (!option) return;
189 if (options.validate) toplevel.validate_ast();
190 if (timings) timings.rename = Date.now();
191 if (options.rename) {
195 if (timings) timings.compress = Date.now();
196 if (options.compress) {
198 if (options.validate) toplevel.validate_ast();
200 if (timings) timings.scope = Date.now();
201 if (options.mangle) toplevel.figure_out_scope(options.mangle);
202 if (timings) timings.mangle = Date.now();
203 if (options.mangle) {
207 if (timings) timings.properties = Date.now();
208 if (quoted_props) reserve_quoted_keys(toplevel, quoted_props);
209 …if (options.mangle && options.mangle.properties) mangle_properties(toplevel, options.mangle.proper…
210 if (options.parse.expression) toplevel = toplevel.unwrap_expression();
211 if (timings) timings.output = Date.now();
217 if (output.ast) result.ast = toplevel;
218 if (output.code) {
219 if (options.sourceMap) {
221 if (options.sourceMap.includeSources) {
222 if (files instanceof AST_Toplevel) {
224 } else for (var name in files) if (HOP(files, name)) {
234 if (options.sourceMap) {
237 if (url) {
239 if (url == "inline") {
247 if (options.nameCache && options.mangle) {
248 if (options.mangle.cache) options.nameCache.vars = to_json(options.mangle.cache);
249 if (options.mangle.properties && options.mangle.properties.cache) {
253 if (timings) {
266 if (warnings.length) {