- generate(Output) - Method in class org.serversass.ast.Section
-
Generates the final output into the given parameter.
- generate(Output) - Method in class org.serversass.Generator
-
Generates the final output into the given parameter.
- Generator - Class in org.serversass
-
Generates CSS code from one or more SASS stylesheets.
- Generator() - Constructor for class org.serversass.Generator
-
Generates a new Generator without a directory used for lookups.
- Generator(File) - Constructor for class org.serversass.Generator
-
Generates a new Generator using the given directory for lookups.
- get(String) - Method in class org.serversass.Scope
-
Returns the value previously set for the given variable.
- getAttributes() - Method in class org.serversass.ast.Mixin
-
Returns all attributes defined by the mixin
- getAttributes() - Method in class org.serversass.ast.Section
-
Returns a list of all attributes.
- getColor() - Method in class org.serversass.ast.Color.HSL
-
Converts the color back to a new RGB color.
- getContents() - Method in class org.serversass.ast.Value
-
Returns the represented value
- getElements() - Method in class org.serversass.ast.ValueList
-
Returns the contents of the value list.
- getExpectedColorParam(int) - Method in class org.serversass.ast.FunctionCall
-
Returns the parameter casted as a
Color at the expected index.
- getExpectedFloatParam(int) - Method in class org.serversass.ast.FunctionCall
-
Returns the parameter at the expected index converted to an float.
- getExpectedIntParam(int) - Method in class org.serversass.ast.FunctionCall
-
Returns the parameter at the expected index converted to an int.
- getExpectedParam(int) - Method in class org.serversass.ast.FunctionCall
-
Returns the parameter at the expected index.
- getExpression() - Method in class org.serversass.ast.Attribute
-
Returns the expression representing the value of the attribute
- getExpression() - Method in class org.serversass.ast.MediaFilter
-
Returns the filter expression.
- getExtendedSections() - Method in class org.serversass.ast.Section
-
Returns a list of all extended sections.
- getH() - Method in class org.serversass.ast.Color.HSL
-
Returns the hue.
- getHSL() - Method in class org.serversass.ast.Color
-
Computes the HSL value form the stored RGB values.
- getImports() - Method in class org.serversass.ast.Stylesheet
-
Returns all imports in the stylesheet
- getL() - Method in class org.serversass.ast.Color.HSL
-
Returns the lightness.
- getLeft() - Method in class org.serversass.ast.Operation
-
Returns the left side of the operation.
- getMediaQuery(Scope, Generator) - Method in class org.serversass.ast.Section
-
Compiles the effective media query of this section into a string
- getMixins() - Method in class org.serversass.ast.Stylesheet
-
Returns all mixins in the stylesheet
- getName() - Method in class org.serversass.ast.Attribute
-
Returns the name of the attribute without the trailing ":"
- getName() - Method in class org.serversass.ast.FunctionCall
-
Returns the name of the function.
- getName() - Method in class org.serversass.ast.MediaFilter
-
Returns the name of the attribute being filtered on
- getName() - Method in class org.serversass.ast.Mixin
-
Returns the name of the mixin
- getName() - Method in class org.serversass.ast.MixinReference
-
Returns the name of the referenced mixin
- getName() - Method in class org.serversass.ast.Stylesheet
-
Returns the name of the stylesheet
- getName() - Method in class org.serversass.ast.Variable
-
Returns the name of the variable.
- getName() - Method in class org.serversass.ast.VariableReference
-
Returns the name of the variable.
- getNumericValue() - Method in class org.serversass.ast.Number
-
The exact numeric value used to computations
- getOperation() - Method in class org.serversass.ast.Operation
-
Returns the operator of this operation.
- getParameters() - Method in class org.serversass.ast.FunctionCall
-
Returns all parameters of the function
- getParameters() - Method in class org.serversass.ast.Mixin
-
Returns all parameters of the mixin
- getParameters() - Method in class org.serversass.ast.MixinReference
-
Returns all parameters
- getReferences() - Method in class org.serversass.ast.Section
-
Returns a list of all referenced mixins.
- getRight() - Method in class org.serversass.ast.Operation
-
Returns the right side of the operation.
- getS() - Method in class org.serversass.ast.Color.HSL
-
Returns the saturation.
- getSections() - Method in class org.serversass.ast.Stylesheet
-
Returns all sections in the stylesheet
- getSelectors() - Method in class org.serversass.ast.Section
-
Returns a list of all parsed selector chains.
- getSelectorString() - Method in class org.serversass.ast.Section
-
Compiles the effective selector string.
- getSubSections() - Method in class org.serversass.ast.Mixin
-
Returns a list of all sub sections.
- getSubSections() - Method in class org.serversass.ast.Section
-
Returns a list of all sub sections.
- getUnit() - Method in class org.serversass.ast.Number
-
The unit of the number or "" if there is no unit.
- getValue() - Method in class org.serversass.ast.Number
-
Returns the string representation of the numeric value
- getValue() - Method in class org.serversass.ast.Variable
-
Returns the value of the variable
- getVariables() - Method in class org.serversass.ast.Stylesheet
-
Returns all variables in the stylesheet
- saturate(Generator, FunctionCall) - Static method in class org.serversass.Functions
-
Increases the saturation of the given color by N percent.
- scope - Variable in class org.serversass.Generator
-
- Scope - Class in org.serversass
-
Represents a map which binds values to variable names.
- Scope() - Constructor for class org.serversass.Scope
-
Creates a new and empty scope without a parent scope
- Scope(Scope) - Constructor for class org.serversass.Scope
-
Creates a new and empty scope using the given parameter as parent scope.
- Section - Class in org.serversass.ast
-
Represents a section which is a list of selectors and a group of attributes.
- Section() - Constructor for class org.serversass.ast.Section
-
- sections - Variable in class org.serversass.Generator
-
- set(String, Expression) - Method in class org.serversass.Scope
-
Sets a variable in this scope.
- setDefaultValue(boolean) - Method in class org.serversass.ast.Variable
-
Sets if the variable was defined using "!
- setExpression(Expression) - Method in class org.serversass.ast.Attribute
-
Sets the expression representing the value of the attribute
- setExpression(Expression) - Method in class org.serversass.ast.MediaFilter
-
Sets the filter expression
- setH(int) - Method in class org.serversass.ast.Color.HSL
-
Updates the hue.
- setL(double) - Method in class org.serversass.ast.Color.HSL
-
Updates the lightness.
- setName(String) - Method in class org.serversass.ast.FunctionCall
-
Sets the name of the function
- setName(String) - Method in class org.serversass.ast.Mixin
-
Sets the name of the mixin
- setName(String) - Method in class org.serversass.ast.MixinReference
-
Sets the name of the referenced mixin
- setName(String) - Method in class org.serversass.ast.Variable
-
Sets the name of the variable (without $).
- setRight(Expression) - Method in class org.serversass.ast.Operation
-
Sets the right side of the operation.
- setS(double) - Method in class org.serversass.ast.Color.HSL
-
Updates the saturation.
- setValue(Expression) - Method in class org.serversass.ast.Variable
-
Sets the value of the variable.
- skipOptionalOutput - Variable in class org.serversass.Output
-
- Stylesheet - Class in org.serversass.ast
-
Represents a completely parsed SCSS file.
- Stylesheet(String) - Constructor for class org.serversass.ast.Stylesheet
-
Creates a new stylesheet with the given name