Home
last modified time | relevance | path

Searched refs:AST_Node (Results 1 – 21 of 21) sorted by relevance

/plugin/asciidocjs/node_modules/uglify-js/lib/
Dast.js47 if (typeof base === "undefined") base = AST_Node;
92 var AST_Node = DEFNODE("Node", "start end", { variable
138 DEF_BITPROPS(AST_Node, [
188 (AST_Node.log_function = function(fn, verbose) {
190 AST_Node.info = AST_Node.warn = noop;
194 AST_Node.info = verbose ? function(text, props) {
197 AST_Node.warn = function(text, props) {
209 AST_Node.enable_validation = function() {
210 AST_Node.disable_validation();
217 if (node instanceof AST_Node) {
[all …]
Dpropmangle.js130 if (node.key instanceof AST_Node) {
222 if (node.key instanceof AST_Node) {
258 if (node.key instanceof AST_Node) {
280 AST_Node.info("Preserving reserved property {this}", name);
284 AST_Node.info("Preserving excluded property {this}", name);
311 AST_Node.info("Mapping property {name} to {mangled}", {
Dminify.js36 AST_Node.warn("inline source map not found: {name}", {
99 if (options.validate) AST_Node.enable_validation();
153 if (options.warnings) AST_Node.log_function(function(warning) {
159 if (files instanceof AST_Node) {
273 AST_Node.log_function();
274 AST_Node.disable_validation();
Dtransform.js60 DEF(AST_Node, noop);
156 if (self.key instanceof AST_Node) self.key = self.key.transform(tw);
202 if (self.key instanceof AST_Node) self.key = self.key.transform(tw);
213 if (self.key instanceof AST_Node) self.key = self.key.transform(tw);
Dcompress.js253 AST_Node.info("pass {pass}: last_count: {min_count}, count: {count}", {
273 OPT(AST_Node, function(self, compressor) {
372 AST_Node.DEFMETHOD("wrap_expression", function() {
381 if (key instanceof AST_Node) return;
523 def(AST_Node, noop);
788 if (!(key instanceof AST_Node) && !RE_POSITIVE_INTEGER.test(key)) return;
790 …(key instanceof AST_Node ? def.scope.argnames : [ def.scope.argnames[key] ]).forEach(function(argn…
813 if (ev instanceof AST_Node) {
870 if (node.key instanceof AST_Node) {
1170 if (prop.key instanceof AST_Node) {
[all …]
Dmozilla-ast.js709 var computed = M.key instanceof AST_Node;
732 var computed = M.key instanceof AST_Node;
948 var computed = M.key instanceof AST_Node;
975 var computed = M.key instanceof AST_Node;
1105 AST_Node.DEFMETHOD("to_mozilla_ast", function() {
1235 AST_Node.from_mozilla_ast = function(node) {
Doutput.js251 AST_Node.warn("Output exceeds {max_line_len} characters", options);
624 AST_Node.DEFMETHOD("print", function(stream, force_parens) {
646 AST_Node.DEFMETHOD("print_to_string", function(options) {
662 PARENS(AST_Node, return_false);
1700 if (key instanceof AST_Node) return output.with_square(function() {
1915 AST_Node,
Dutils.js131 if (value instanceof AST_Node) return value.print_to_string();
Dscope.js786 AST_Node.DEFMETHOD("tail_node", return_this);
/plugin/asciidocjs/node_modules/pug-filters/node_modules/uglify-js/tools/
Dnode.js34 UglifyJS.AST_Node.warn_function = function(txt) {
41 UglifyJS.AST_Node.warn("inline source map not found");
80 toplevel = UglifyJS.AST_Node.from_mozilla_ast(files);
227 doitem(UglifyJS.AST_Node);
/plugin/asciidocjs/node_modules/pug-filters/node_modules/uglify-js/lib/
Dscope.js589 AST_Node.warn("Undeclared symbol: {name} [{file}:{line},{col}]", {
606 AST_Node.warn("{msg}: {name} [{file}:{line},{col}]", {
619 AST_Node.warn("Eval is used [{file}:{line},{col}]", node.start);
625 AST_Node.warn("{type} {name} is declared but not referenced [{file}:{line},{col}]", {
636 AST_Node.warn("arguments used in function {name} [{file}:{line},{col}]", {
646AST_Node.warn("Function {name} declared in nested statement \"{type}\" [{file}:{line},{col}]", {
Dast.js47 if (arguments.length < 4) base = AST_Node;
93 var AST_Node = DEFNODE("Node", "start end", { variable
121 AST_Node.warn_function = null;
122 AST_Node.warn = function(txt, props) {
123 if (AST_Node.warn_function)
124 AST_Node.warn_function(string_template(txt, props));
Dcompress.js139 AST_Node.warn.apply(AST_Node, arguments);
148 AST_Node.warn.apply(AST_Node, arguments);
197 OPT(AST_Node, function(self, compressor){
201 AST_Node.DEFMETHOD("equivalent_to", function(node){
205 AST_Node.DEFMETHOD("process_expression", function(insert, compressor) {
252 AST_Node.DEFMETHOD("reset_opt_flags", function(compressor, rescan){
476 if (!fixed || fixed instanceof AST_Node) return fixed;
1232 AST_Node.DEFMETHOD("may_throw_on_access", function(compressor) {
1241 def(AST_Node, is_strict);
1295 def(AST_Node, return_false);
[all …]
Doutput.js206 AST_Node.warn("Output exceeds {max_line_len} characters", options);
372AST_Node.warn("Couldn't figure out mapping for {file}:{line},{col} → {cline},{ccol} [{name}]", {
453 AST_Node.DEFMETHOD("print", function(stream, force_parens){
475 AST_Node.DEFMETHOD("print_to_string", function(options){
484 AST_Node.DEFMETHOD("add_comments", function(output){
560 PARENS(AST_Node, function(){
1387 DEFMAP(AST_Node, noop);
Dtransform.js84 _(AST_Node, noop);
Dmozilla-ast.js558 AST_Node.from_mozilla_ast = function(node){
/plugin/asciidocjs/node_modules/uglify-js/bin/
Duglifyjs251 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");
308 return UglifyJS.AST_Node.from_mozilla_ast(Object.keys(files).reduce(fn, null));
314 UglifyJS.AST_Node.info("Using input source map: {content}", {
438 if (value instanceof UglifyJS.AST_Node) {
458 … code = UglifyJS.AST_Node.from_mozilla_ast(result.ast.to_mozilla_ast()).print_to_string(opts);
/plugin/asciidocjs/node_modules/uglify-to-browserify/
Dindex.js29 …src += 'exports.AST_Node.warn_function = function (txt) { if (typeof console != "undefined" && typ…
/plugin/asciidocjs/node_modules/uglify-js/tools/
Dnode.js59 doitem(AST_Node);
/plugin/asciidocjs/node_modules/pug-filters/node_modules/uglify-js/bin/
Duglifyjs419 TOPLEVEL = UglifyJS.AST_Node.from_mozilla_ast(TOPLEVEL);
/plugin/asciidocjs/node_modules/pug-filters/node_modules/uglify-js/
DREADME.md637 var uAST = UglifyJS.AST_Node.from_mozilla_ast(ast);