您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
Artur Signell ea6c9e771c Remove ScssServlet (#9647) 11 年前
..
ivymodule Created separate build.xml files for each module (#9299) 11 年前
src/com/vaadin Remove ScssServlet (#9647) 11 年前
tests Big SassCompiler change, fixes #9411 #9489 partials for #9354 #9545 #9380 (applied patch) 11 年前
README Renamed sass -> theme-compiler for consistency (#9299) 11 年前
build.xml Include flute files also in theme-compiler (in addition to client) for now (#9609) 11 年前
ivy.xml Include flute files also in theme-compiler (in addition to client) for now (#9609) 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