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