Sha256: e73d38ecc72d69383df971248812c33b74ae8c4d82ae97e8251929074056b078

Contents?: true

Size: 333 Bytes

Versions: 20

Compression:

Stored size: 333 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");
  process.exit(0);
}

var file = fs.readFileSync(filename, "utf8");
var ast = parser.parse(file);

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

Version data entries

20 entries across 20 versions & 6 rubygems

Version Path
disco_app-0.18.0 test/dummy/node_modules/@babel/parser/bin/babel-parser.js
disco_app-0.18.2 test/dummy/node_modules/@babel/parser/bin/babel-parser.js
enju_library-0.3.8 spec/dummy/node_modules/@babel/parser/bin/babel-parser.js
condenser-0.2 lib/condenser/processors/node_modules/@babel/parser/bin/babel-parser.js
condenser-0.1 lib/condenser/processors/node_modules/@babel/parser/bin/babel-parser.js
condenser-0.0.12 lib/condenser/processors/node_modules/@babel/parser/bin/babel-parser.js
condenser-0.0.11 lib/condenser/processors/node_modules/@babel/parser/bin/babel-parser.js
condenser-0.0.10 lib/condenser/processors/node_modules/@babel/parser/bin/babel-parser.js
condenser-0.0.9 lib/condenser/processors/node_modules/@babel/parser/bin/babel-parser.js
condenser-0.0.8 lib/condenser/processors/node_modules/@babel/parser/bin/babel-parser.js
learn_create-0.0.22 lib/templates/javascript_lab_template/node_modules/@babel/parser/bin/babel-parser.js
jester-data-8.0.0 node_modules/@babel/parser/bin/babel-parser.js
ezii-os-5.2.1 node_modules/@babel/parser/bin/babel-parser.js
ezii-os-2.0.1 node_modules/@babel/parser/bin/babel-parser.js
ezii-os-1.1.0 node_modules/@babel/parser/bin/babel-parser.js
ezii-os-1.0.0 node_modules/@babel/parser/bin/babel-parser.js
condenser-0.0.7 lib/condenser/processors/node_modules/@babel/parser/bin/babel-parser.js
ezii-os-0.0.0.1.0 node_modules/@babel/parser/bin/babel-parser.js
ezii-os-0.0.0.0.1 node_modules/@babel/parser/bin/babel-parser.js
condenser-0.0.5 lib/condenser/processors/node_modules/@babel/parser/bin/babel-parser.js