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.
John Ahlroos b056c43954 Prevent NPE when a SCSS file is not found #11099 преди 11 години
..
ivymodule Same version of commons-lang in SmartSprites and elsewhere (#9970) преди 11 години
src/com/vaadin Prevent NPE when a SCSS file is not found #11099 преди 11 години
tests Make SassLangTestsBroken pass iff the CSS and SCSS do not match. преди 11 години
README Renamed sass -> theme-compiler for consistency (#9299) преди 11 години
build.xml Include GWT sources in sources jar (#9102) преди 11 години
ivy.xml Override commons-logging version (#9970) преди 11 години

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