You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Mika Murtojarvi 25fc2f2f1a Fix whitespace after including a mixin (#12715) 10 years ago
..
src/com/vaadin Fix whitespace after including a mixin (#12715) 10 years ago
tests Fix whitespace after including a mixin (#12715) 10 years ago
README Renamed sass -> theme-compiler for consistency (#9299) 11 years ago
build.xml Unified xml files to end with new line 10 years ago
ivy.xml Use JUnit 4.11 in all modules (#12572) 10 years ago

README

This project compiles SCSS into CSS.
It parses the SCSS into a tree.

Classes
=======
SassCompiler: This is the main class that can be run from command line. First parameter is for a scss file to be compiled. Second parameter is optional and is a reference to a file where you want the compiled css. If file doesn't exist, it will be deleted. If file exists, it will be deleted and recreated. If second argument is left out, the css will be printed into standard out.
ScssStylesheet: When Scss/Css is parsed in, it will be represented in memory as this file. Reference is got through static get(File file) where file is input.
Parser: A JavaCC compiled java class that parses the input and notifies the DocumentHandler on what nodes it encounters.
Parser.jj: Source for the Parser class.
SCSSDocumentHandlerImpl: Class that takes in calls from parser and creates nodes into ScssStylesheet based on those calls.
Node package: All the nodes representing the Scss/Css in tree format