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.
Artur Signell e77e73cf64 Update copyright year to 2014 10 years ago
..
src/com/vaadin Update copyright year to 2014 10 years ago
tests Update copyright year to 2014 10 years ago
README Renamed sass -> theme-compiler for consistency (#9299) 11 years ago
apache2header.txt Ensure generated parser is re-generated during build (#12937) 10 years ago
build.xml Enable on-the-fly SASS compilation in OSGi (#10307) 10 years ago
ivy.xml Fixed pom fails in unit tests. 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