Sha256: 3c6355ac9da02a6fab9fe6a323e4af99cc06f82896cef815522773c308ac1a74

Contents?: true

Size: 328 Bytes

Versions: 146

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

146 entries across 55 versions & 9 rubygems

Version Path
immosquare-cleaner-0.1.48 node_modules/@babel/helper-remap-async-to-generator/node_modules/@babel/traverse/node_modules/@babel/parser/bin/babel-parser.js
immosquare-cleaner-0.1.48 node_modules/@babel/helper-builder-binary-assignment-operator-visitor/node_modules/@babel/traverse/node_modules/@babel/parser/bin/babel-parser.js
immosquare-cleaner-0.1.47 node_modules/@babel/helper-remap-async-to-generator/node_modules/@babel/traverse/node_modules/@babel/parser/bin/babel-parser.js
immosquare-cleaner-0.1.47 node_modules/@babel/helper-builder-binary-assignment-operator-visitor/node_modules/@babel/traverse/node_modules/@babel/parser/bin/babel-parser.js
immosquare-cleaner-0.1.47 node_modules/@babel/helper-wrap-function/node_modules/@babel/template/node_modules/@babel/parser/bin/babel-parser.js
immosquare-cleaner-0.1.47 node_modules/@babel/helper-wrap-function/node_modules/@babel/traverse/node_modules/@babel/parser/bin/babel-parser.js
immosquare-cleaner-0.1.47 node_modules/@babel/parser/bin/babel-parser.js
immosquare-cleaner-0.1.47 node_modules/@babel/plugin-bugfix-v8-static-class-fields-redefine-readonly/node_modules/@babel/traverse/node_modules/@babel/parser/bin/babel-parser.js
immosquare-cleaner-0.1.47 node_modules/@babel/plugin-transform-async-generator-functions/node_modules/@babel/traverse/node_modules/@babel/parser/bin/babel-parser.js
immosquare-cleaner-0.1.47 node_modules/@babel/plugin-transform-classes/node_modules/@babel/traverse/node_modules/@babel/parser/bin/babel-parser.js
immosquare-cleaner-0.1.47 node_modules/@babel/plugin-transform-computed-properties/node_modules/@babel/template/node_modules/@babel/parser/bin/babel-parser.js
immosquare-cleaner-0.1.47 node_modules/@babel/plugin-transform-function-name/node_modules/@babel/traverse/node_modules/@babel/parser/bin/babel-parser.js
immosquare-cleaner-0.1.47 node_modules/@babel/plugin-transform-modules-systemjs/node_modules/@babel/traverse/node_modules/@babel/parser/bin/babel-parser.js
immosquare-cleaner-0.1.47 node_modules/@babel/plugin-transform-object-super/node_modules/@babel/helper-replace-supers/node_modules/@babel/traverse/node_modules/@babel/parser/bin/babel-parser.js
immosquare-cleaner-0.1.46 node_modules/@babel/helper-builder-binary-assignment-operator-visitor/node_modules/@babel/traverse/node_modules/@babel/parser/bin/babel-parser.js
immosquare-cleaner-0.1.46 node_modules/@babel/plugin-transform-object-super/node_modules/@babel/helper-replace-supers/node_modules/@babel/traverse/node_modules/@babel/parser/bin/babel-parser.js
immosquare-cleaner-0.1.46 node_modules/@babel/plugin-transform-modules-systemjs/node_modules/@babel/traverse/node_modules/@babel/parser/bin/babel-parser.js
immosquare-cleaner-0.1.46 node_modules/@babel/plugin-transform-function-name/node_modules/@babel/traverse/node_modules/@babel/parser/bin/babel-parser.js
immosquare-cleaner-0.1.46 node_modules/@babel/plugin-transform-computed-properties/node_modules/@babel/template/node_modules/@babel/parser/bin/babel-parser.js
immosquare-cleaner-0.1.46 node_modules/@babel/plugin-transform-classes/node_modules/@babel/traverse/node_modules/@babel/parser/bin/babel-parser.js