I am wondering if there is an SCSS (or Sass) parser, preferably written in JavaScript, that will output an abstract syntax tree.
These are the perfect examples I'm looking for:
UPDATE: The reason I ask is because I want to create a tool that will apply a specific coding style for SCSS, and I cannot do it using the above, as they re-insert the compiled CSS, move the brackets, and so on. .d.
source share