var fs = require("fs"); exports.FILES = [ require.resolve("../lib/utils.js"), require.resolve("../lib/ast.js"), require.resolve("../lib/parse.js"), require.resolve("../lib/transform.js"), require.resolve("../lib/scope.js"), require.resolve("../lib/output.js"), require.resolve("../lib/compress.js"), require.resolve("../lib/sourcemap.js"), require.resolve("../lib/mozilla-ast.js"), require.resolve("../lib/propmangle.js"), require.resolve("../lib/minify.js"), require.resolve("./exports.js"), ]; new Function("MOZ_SourceMap", "exports", function() { var code = exports.FILES.map(function(file) { return fs.readFileSync(file, "utf8"); }); code.push("exports.describe_ast = " + describe_ast.toString()); return code.join("\n\n"); }())(require("source-map"), exports); function describe_ast() { var out = OutputStream({ beautify: true }); function doitem(ctor) { out.print("AST_" + ctor.TYPE); var props = ctor.SELF_PROPS.filter(function(prop) { return !/^\$/.test(prop); }); if (props.length > 0) { out.space(); out.with_parens(function() { props.forEach(function(prop, i) { if (i) out.space(); out.print(prop); }); }); } if (ctor.documentation) { out.space(); out.print_string(ctor.documentation); } if (ctor.SUBCLASSES.length > 0) { out.space(); out.with_block(function() { ctor.SUBCLASSES.sort(function(a, b) { return a.TYPE < b.TYPE ? -1 : 1; }).forEach(function(ctor, i) { out.indent(); doitem(ctor); out.newline(); }); }); } }; doitem(AST_Node); return out + "\n"; } function infer_options(options) { var result = exports.minify("", options); return result.error && result.error.defs; } exports.default_options = function() { var defs = {}; Object.keys(infer_options({ 0: 0 })).forEach(function(component) { var options = {}; options[component] = { 0: 0 }; if (options = infer_options(options)) { defs[component] = options; } }); return defs; }; ef='/guix/log/gnu/packages/datastructures.scm?id=da13cc2ebbc127033a68545275a90d27878bc8f7'>datastructures.scm
AgeCommit message (Expand)Author
2018-01-24gnu: liburcu: Update to 0.10.1....* gnu/packages/datastructures.scm (liburcu): Update to 0.10.1. Tobias Geerinckx-Rice
2017-12-12gnu: Add uthash....* gnu/packages/datastructures.scm (uthash): New public variable. Tobias Geerinckx-Rice
2017-06-15gnu: liburcu: Update to 0.10.0....* gnu/packages/databases.scm (liburcu): Update to 0.10.0. Tobias Geerinckx-Rice
2017-04-17gnu: Fix typos in descriptions....* gnu/packages/admin.scm (di)[description]: Likewise. * gnu/packages/bioinformatics.scm (r-annotate)[description]: Likewise. * gnu/packages/datastructures.scm (sparsehash)[description]: Likewise. * gnu/packages/dns.scm (knot)[description]: Likewise. * gnu/packages/emacs.scm (emacs-idle-highlight)[synopsis, description]: Likewise. * gnu/packages/gnome.scm (libpeas)[description]: Likewise. * gnu/packages/gtk.scm (python2-pygtk)[description]: Likewise. * gnu/packages/kde-frameworks.scm (kactivities)[description]: Fix typo. * gnu/packages/libevent.scm (perl-anyevent)[description]: Likewise. * gnu/packages/machine-learning.scm (ghmm)[description]: Likewise. * gnu/packages/mail.scm (mlmmj)[description]: Likewise. * gnu/packages/maths.scm (vc)[description]: Likewise. * gnu/packages/music.scm (gx-super-fuzz-lv2)[description]: Likewise. * gnu/packages/networking.scm (nload)[description]: Likewise. * gnu/packages/python.scm (python-execnet)[description]: Likewise. * gnu/packages/terminals.scm (tilda)[description]: Likewise. * gnu/packages/python.scm (python-execnet, python-tables) (python2-coverage-test-runner, python2-rope)[description]: Likewise. Tobias Geerinckx-Rice
2017-03-17gnu: Add liburcu....* gnu/packages/datastructures.scm (liburcu): New variable. Tobias Geerinckx-Rice
2016-07-19gnu: Add ssdeep....* gnu/packages/datastructures.scm (ssdeep): New variable. Signed-off-by: Ludovic Courtès <ludo@gnu.org> Tobias Geerinckx-Rice
2016-03-01gnu: Add gdsl....* gnu/packages/datastructures.scm (gdsl): New variable. Ricardo Wurmus