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