Sha256: 3c6355ac9da02a6fab9fe6a323e4af99cc06f82896cef815522773c308ac1a74

Contents?: true

Size: 328 Bytes

Versions: 166

Compression:

Stored size: 328 Bytes

Contents

#!/usr/bin/env node
/* eslint no-var: 0 */

var parser = require("..");
var fs = require("fs");

var filename = process.argv[2];
if (!filename) {
  console.error("no filename specified");
} else {
  var file = fs.readFileSync(filename, "utf8");
  var ast = parser.parse(file);

  console.log(JSON.stringify(ast, null, "  "));
}

Version data entries

166 entries across 56 versions & 9 rubygems

Version Path
immosquare-cleaner-0.1.42 node_modules/@babel/parser/bin/babel-parser.js
immosquare-cleaner-0.1.41 node_modules/@babel/parser/bin/babel-parser.js
immosquare-cleaner-0.1.40 node_modules/@babel/parser/bin/babel-parser.js
wice_grid-7.1.0 node_modules/@babel/parser/bin/babel-parser.js
immosquare-cleaner-0.1.39 node_modules/@babel/parser/bin/babel-parser.js
immosquare-cleaner-0.1.38 node_modules/@babel/parser/bin/babel-parser.js
optimacms-0.1.61 spec/dummy/node_modules/@babel/parser/bin/babel-parser.js
trusty-cms-5.0.7 node_modules/@babel/parser/bin/babel-parser.js
trusty-cms-5.0.6 node_modules/@babel/parser/bin/babel-parser.js
trusty-cms-5.0.5 node_modules/@babel/parser/bin/babel-parser.js
trusty-cms-5.0.4 node_modules/@babel/parser/bin/babel-parser.js
disco_app-0.16.1 test/dummy/node_modules/@babel/parser/bin/babel-parser.js
disco_app-0.15.2 test/dummy/node_modules/@babel/parser/bin/babel-parser.js
trusty-cms-5.0.3 node_modules/@babel/parser/bin/babel-parser.js
trusty-cms-5.0.2 node_modules/@babel/parser/bin/babel-parser.js
disco_app-0.18.4 test/dummy/node_modules/@babel/parser/bin/babel-parser.js
disco_app-0.18.1 test/dummy/node_modules/@babel/parser/bin/babel-parser.js
disco_app-0.12.7.pre.puma.pre.3 test/dummy/node_modules/@babel/parser/bin/babel-parser.js
disco_app-0.14.0 test/dummy/node_modules/@babel/parser/bin/babel-parser.js
disco_app-0.13.6.pre.puma.pre.3 test/dummy/node_modules/@babel/parser/bin/babel-parser.js