Sha256: 905eb335fabd62b5807b6ee46ba6ea69ba57c240ac286f5ca062f5349afc94e7

Contents?: true

Size: 224 Bytes

Versions: 11

Compression:

Stored size: 224 Bytes

Contents

var astw = require('../');
var deparse = require('escodegen').generate;
var walk = astw('4 + beep(5 * 2)');

walk(function (node) {
    var src = deparse(node);
    console.log(node.type + ' :: ' + JSON.stringify(src));
});

Version data entries

11 entries across 11 versions & 4 rubygems

Version Path
minimum_viable_product-0.0.11 test/dummy/node_modules/astw/example/types.js
brwy_rails-0.0.6 test/dummy/node_modules/astw/example/types.js
brwy_rails-0.0.5 test/dummy/node_modules/astw/example/types.js
brwy_rails-0.0.4 test/dummy/node_modules/astw/example/types.js
brwy_rails-0.0.3 test/dummy/node_modules/astw/example/types.js
brwy_rails-0.0.2 test/dummy/node_modules/astw/example/types.js
brwy_rails-0.0.1 test/dummy/node_modules/astw/example/types.js
sprockets-browserify-0.3.0 node_modules/browserify/node_modules/insert-module-globals/node_modules/lexical-scope/node_modules/astw/example/types.js
sprockets-browserify-0.2.0 node_modules/browserify/node_modules/insert-module-globals/node_modules/lexical-scope/node_modules/astw/example/types.js
ruby-wisp-source-0.8.0 vendor/node_modules/browserify/node_modules/insert-module-globals/node_modules/lexical-scope/node_modules/astw/example/types.js
ruby-wisp-source-0.7.0 vendor/node_modules/browserify/node_modules/insert-module-globals/node_modules/lexical-scope/node_modules/astw/example/types.js