0.13.1 • Published 11 years ago
roole-parser v0.13.1
roole-parser
Take a string of Roole code, and output the ast.
Example
var parser = require('roole-parser');
var ast = parser.parse('body { margin: 0 }');
console.log(ast);
API
parser.parse(str, options)
str
- string of Roole codeoptions
- hash object supports the following options: *filename
- file path of the Roole code, used is debugging