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 3a17a846bd Include flute files also in theme-compiler (in addition to client) for now (#9609) 11 years ago
..
ivymodule Created separate build.xml files for each module (#9299) 11 years ago
src/com/vaadin Applying patch: remak of variable handling in sass (partial for e.g #9492 and others) 11 years ago
tests Applying patch: remak of variable handling in sass (partial for e.g #9492 and others) 11 years ago
README Renamed sass -> theme-compiler for consistency (#9299) 11 years ago
build.xml Include flute files also in theme-compiler (in addition to client) for now (#9609) 11 years ago
ivy.xml Include flute files also in theme-compiler (in addition to client) for now (#9609) 11 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