All Classes Interface Summary Class Summary Enum Summary Exception Summary Error Summary
| Class |
Description |
| AbbreviatePositionalValues |
Check shorthand rule declarations that define positional values,
such as padding and margin, and eliminate duplicate values if possible.
|
| AbstractCommandLineCompiler<T extends JobDescription> |
An abstract class that is designed to be extended by classes that provide a
command line interface to the CSS parser.
|
| AbstractGssParser |
Base parser implementation that delegates management of the underlying
JavaCC parser to the subclass.
|
| AbstractGssParser.ParseResult |
|
| AccessibleErrorManager |
|
| AtRuleHandler |
A handler for at rules.
|
| AutoExpandBrowserPrefix |
A compiler pass that automatically detects certain properties that need additional
browser specific property declarations, and adds them.
|
| BasicErrorManager |
|
| BiDiFlipper |
Compiler pass that BiDi flips all the flippable nodes.
|
| BooleanExpressionEvaluator |
An evaluator for boolean expressions.
|
| BrowserPrefixGenerator |
A utility for the AutoExpandBrowserPrefix pass, which provides a list of rules
that govern automatic addition of browser specific property declarations.
|
| BrowserPrefixRule |
A utility for the AutoExpandBrowserPrefix pass, which provides a list of rules
that govern automatic addition of browser specific property declarations.
|
| CharStream |
This interface describes a character stream that maintains line and
column number positions of the characters.
|
| CheckDependencyNodes |
|
| CheckMissingRequire |
A compiler pass that checks for missing @require lines for def constant references
and mixins.
|
| ChunkAware |
Interface to annotate CSS nodes with target CSS chunk id.
|
| ClosureCommandLineCompiler |
|
| ClosureStylesheetCompiler |
|
| CodeBuffer |
Class to write/delete characters used by CodePrinter subclasses to print out code.
|
| CodePrinter |
An abstract code-printer for CssTree instances that provides read/write access to the
output buffer and performs common tasks during code generation, like creating sourcemaps.
|
| CollectConstantDefinitions |
A pass that collects the constant definitions inside the tree.
|
| CollectMixinDefinitions |
Compiler pass that collects all mixin definitions and afterwards provides a
mapping of mixin definition names to CssMixinDefinitionNode instances.
|
| CollectProvideNamespaces |
A compiler pass to help find missing @require lines for def constant references
and mixins.
|
| ColorValueOptimizer |
Compiler pass that optimizes color values.
|
| CompactPrinter |
A compact-printer for CssTree instances.
|
| CompactPrintingVisitor |
A compact-printer for CssTree instances.
|
| ConstantDefinitions |
A container for GSS constant definitions, since a constant could be
defined multiple times in the tree, this class has two set of interfaces
that can be used to get either all definitions of a constant or only last
definition of a constant.
|
| CreateComponentNodes |
|
| CreateConditionalNodes |
|
| CreateConstantReferences |
|
| CreateDefinitionNodes |
|
| CreateForLoopNodes |
|
| CreateMixins |
A compiler pass that transforms matching CssUnknownAtRuleNode instances
into mixins or mixin definitions.
|
| CreateStandardAtRuleNodes |
A compiler pass that transforms standard CssUnknownAtRuleNode instances to more specific
at-rule nodes, or deletes them.
|
| CreateVendorPrefixedKeyframes |
Compiler pass which duplicates @keyframes rules creating browser specific
prefixed form.
|
| CssAbstractBlockNode |
An abstract representation of a list of nodes that are enclosed inside
braces.
|
| CssAtRuleNode |
A node corresponding to an at-rule such as @if or @media.
|
| CssAtRuleNode.Type |
The Types of at-rules we (should/could) know about.
|
| CssAttributeSelectorNode |
A CssRefinerNode implementation that represents an attribute
selector.
|
| CssAttributeSelectorNode.MatchType |
Determines how the given value has to match the value of the attribute so
that the attribute is selected.
|
| CssBlockNode |
|
| CssBooleanExpressionNode |
A node representing a boolean expression to evaluate.
|
| CssBooleanExpressionNode.Type |
Boolean expression node types.
|
| CssCharSetNode |
|
| CssClassRenaming |
Compiler pass that does CSS class renaming given a renaming map.
|
| CssClassSelectorNode |
A CssRefinerNode implementation that represents a selector for a
class.
|
| CssClassSelectorNode.ComponentScoping |
Specifies the kind or absence of a component scoping prefix.
|
| CssCombinatorNode |
A node representing a combinator of selectors in the AST.
|
| CssCombinatorNode.Combinator |
Contains the list of all possible CSS combinators.
|
| CssCommentNode |
Node corresponding to a comment.
|
| CssCompilerPass |
|
| CssComponentNode |
|
| CssComponentNode.PrefixStyle |
Indicates how we want to construct the prefix strings for this component.
|
| CssCompositeValueNode |
A node that contains a list of value nodes that together represent one logical value.
|
| CssCompositeValueNode.Operator |
Recognized operators.
|
| CssConditionalBlockNode |
A node representing a (complex) conditional block.
|
| CssConditionalRuleNode |
A node representing a conditional rule such as @if or @else.
|
| CssConstantReferenceNode |
A node holding a reference to a constant or an argument of a mixin
definition.
|
| CssCustomFunctionNode |
A node representing a custom GSS function call.
|
| CssCustomFunctionNode.CssCustomFunctionNodeProxy |
|
| CssDeclarationBlockNode |
|
| CssDeclarationNode |
A node representing a CSS declaration in the abstract syntax tree.
|
| CssDefinitionNode |
A node representing a GSS definition.
|
| CssFontFaceNode |
|
| CssForLoopRuleNode |
A node representing a @for loop rule.
|
| CssFunctionArgumentsNode |
A list of nodes that are arguments of a function.
|
| CssFunctionNode |
A node representing a function.
|
| CssFunctionNode.Function |
Contains the list of recognized CSS functions.
|
| CssHexColorNode |
Node corresponding to a hex color.
|
| CssIdSelectorNode |
|
| CssImportBlockNode |
A list of nodes that contains only import rules.
|
| CssImportRuleNode |
A node representing an @import rule.
|
| CssKeyframeRulesetNode |
A node representing a keyframe style rule.
|
| CssKeyframesNode |
A node representing an @-webkit-keyframes rule.
|
| CssKeyListNode |
A list of nodes that contains only keys (for keyframes).
|
| CssKeyNode |
A node representing a key (for keyframes) in the AST.
|
| CssLiteralNode |
A node that holds a CSS literal.
|
| CssLoopVariableNode |
A node that is a reference to a for loop variable.
|
| CssMathNode |
A CSS node that holds a mathematical expression.
|
| CssMediaRuleNode |
A node representing an @media rule.
|
| CssMixinDefinitionNode |
A node representing a mixin definition.
|
| CssMixinNode |
A node representing a mixin.
|
| CssNode |
A node of the abstract syntax tree.
|
| CssNodesListNode<T extends CssNode> |
Represents a list of nodes.
|
| CssNumericNode |
A CSS node containing a numeric value such as height, width, length,
or percentage values.
|
| CssPageRuleNode |
A node representing an @page rule.
|
| CssPageSelectorNode |
A node representing a page selector @-rule that can be used inside an
@page rule.
|
| CssParserEventHandler |
A handler for parse events in the spirit of SAC and SAX.
|
| CssParserEventHandler.BooleanExpressionHandler |
Builds a boolean expression.
|
| CssParserEventHandler.ExpressionHandler |
Builds an expression.
|
| CssParserEventHandler.ImportHandler |
Builds an import.
|
| CssParserEventHandler.MediaHandler |
Builds a media rule.
|
| CssPriorityNode |
Node representing the priority of a declaration.
|
| CssPriorityNode.PriorityType |
Types of priority
|
| CssPropertyNode |
A node representing a CSS property, such as background or padding.
|
| CssPropertyValueNode |
A list of values for a property in a declaration.
|
| CssProvideNode |
|
| CssPseudoClassNode |
|
| CssPseudoClassNode.FunctionType |
Determines if the pseudo-class is a function and if so which one.
|
| CssPseudoElementNode |
|
| CssRefinerListNode |
A list of nodes that are refiners of a selector.
|
| CssRefinerNode |
A node representing a refiner of a selector in the AST.
|
| CssRefinerNode.Refiner |
Contains the list of all possible CSS refiners.
|
| CssRequireNode |
|
| CssRootNode |
The root of a node.
|
| CssRulesetNode |
A node representing a style rule.
|
| CssSelectorListNode |
A list of nodes that contains only selectors.
|
| CssSelectorNode |
A node representing a selector in the AST.
|
| CssSelectorNode.Specificity |
The specifity of a selector is used to select among rules with the same
importance and origin.
|
| CssSpecification |
|
| CssStringNode |
Node corresponding to a string value.
|
| CssStringNode.Type |
CSS syntax permits strings to be expressed either using
single-quotes or double-quotes.
|
| CssTree |
A mutable abstract syntax tree that corresponds to a CSS input file.
|
| CssTree.RulesetNodesToRemove |
|
| CssTreeVisitor |
Visitor interface for CSS abstract syntax trees.
|
| CssUnicodeRangeNode |
A node that represent a unicode range.
|
| CssUnknownAtRuleNode |
An unknown or generic at-rule node.
|
| CssValueNode |
A CSS node that holds a value of some sort.
|
| DefaultCommandLineCompiler |
|
| DefaultCommandLineCompiler.CompilerErrorManager |
An error message handler.
|
| DefaultExitCodeHandler |
|
| DefaultGssFunctionMapProvider |
Provides the default set of functions that are bundled with Closure
Stylesheets.
|
| DefaultGssSourceMapGenerator |
Class to collect and generate source map(v3) for Gss compiler.
|
| DefaultTreeVisitor |
Visits everything and does nothing.
|
| DefinitionPrintingVisitor<T> |
Printer for definition nodes, which outputs GSS definitions so that they can be re-parsed later.
|
| DelegatingVisitor |
Dispatches to multiple CssTreeVisitors.
|
| DisallowDuplicateDeclarations |
Compiler pass that reports an error if a ruleset has two of the same
declarations that are not marked as alternate.
|
| DummyErrorManager |
DummyErrorManager is a stateless error manager suitable for use
in the Null Object pattern.
|
| EliminateConditionalNodes |
A compiler pass that eliminates the conditional blocks for which the boolean
expression does not evaluate to true.
|
| EliminateEmptyRulesetNodes |
A compiler pass that eliminates the empty ruleset nodes.
|
| EliminateUnitsFromZeroNumericValues |
A compiler pass that eliminates useless units from 0.
|
| EliminateUselessRulesetNodes |
Compiler pass that removes useless ruleset nodes from the AST.
|
| EnumeratingVisitor |
A visitor that maps nodes to their visit ordering.
|
| ErrorManager |
The error manager is in charge of storing, organizing and displaying errors.
|
| EscapeUtil |
|
| EvaluateCompileConstants |
Evaluates integer constants provided typically through command line.
|
| ExitCodeHandler |
|
| FixupFontDeclarations |
Compiler pass that replaces font and font-family declaration subtrees
so that the tree structure resembles the (rather idiosyncratic) grammar
of the corresponding CSS properties.
|
| FixupFontDeclarations.FontProperty |
Properties whose values may be specified in a Font declaration.
|
| FixupFontDeclarations.InputMode |
Specifies how the input tree should be interpreted.
|
| GssError |
GSS parser error description.
|
| GssError.MessageFormatArgs |
A String template, together with values for the template holes.
|
| GssFunction |
Encapsulates a custom function callable from GSS stylesheet files.
|
| GssFunctionException |
Exception class to be thrown by Gss functions.
|
| GssFunctionMapProvider |
Provides maps of custom GSS functions for use with command-line compilers.
|
| GssFunctions |
Container for common GSS functions.
|
| GssFunctions.AddHsbToCssColor |
Implementation of the addHsbToCssColor GSS function.
|
| GssFunctions.AddToNumericValue |
The "add()" function adds a list of numeric values.
|
| GssFunctions.AdjustBrightness |
Implementation of the adjustBrightness GSS function.
|
| GssFunctions.BaseBlendColors |
Base implementation of the color blending GSS function.
|
| GssFunctions.BaseHslColorManipulation |
Abstract base class providing HSL color space manipulation functions.
|
| GssFunctions.BlendColorsHsb |
Implementation of the blendColorsHsb GSS function.
|
| GssFunctions.BlendColorsRgb |
Implementation of the blendColorsRgb GSS function.
|
| GssFunctions.Concat |
Implementation of the concat(…) GssFunction.
|
| GssFunctions.Darken |
Decrease the lightness of a color.
|
| GssFunctions.DesaturateColor |
Decrease the saturation of the specified color.
|
| GssFunctions.Div |
A GssFunction that returns the quotient of its arguments.
|
| GssFunctions.Greyscale |
Convert the color to a grayscale (desaturation with amount of 100).
|
| GssFunctions.Lighten |
Increase the lightness of a color.
|
| GssFunctions.MakeContrastingColor |
The "makeContrastingColor" function generates a contrasting color with the
same hue as the input color.
|
| GssFunctions.MakeMutedColor |
Implementation of the makeMutedColor GSS function.
|
| GssFunctions.MakeTranslucent |
Takes an input color and sets its alpha component without affecting
the RGB components.
|
| GssFunctions.MaxValue |
A GssFunction that returns the max value from its list of
arguments.
|
| GssFunctions.MinValue |
A GssFunction that returns the min value from its list of
arguments.
|
| GssFunctions.Mult |
A GssFunction that returns the product of its arguments.
|
| GssFunctions.SaturateColor |
Increase the saturation of the specified color.
|
| GssFunctions.SelectFrom |
Allows the equivalent of the ternary operator in GSS, using three
@def statements as inputs.
|
| GssFunctions.Spin |
Increase or decrease the hue of a color.
|
| GssFunctions.SubtractFromNumericValue |
The "sub()" function subtracts a list of numeric values.
|
| GssParser |
A wrapper around the JavaCC generated GSS parser.
|
| GssParserCC |
A parser that recognizes GSS files and builds the new AST.
|
| GssParserCCConstants |
Token literal values and constants.
|
| GssParserCCTokenManager |
Token Manager.
|
| GssParserException |
|
| GssSourceMapGenerator |
Interface to collect and generate source map for CssNode in Gss compiler.
|
| HandleMissingConstantDefinitions |
|
| HandleUnknownAtRuleNodes |
Compiler pass that handles remaining CssUnknownAtRuleNode instances
by optionally reporting them as errors and optionally removing
them.
|
| HasConditionalNodes |
|
| IdentitySubstitutionMap |
|
| JobDescription |
Provides inputs and options to Closure Stylesheets.
|
| JobDescription.InputOrientation |
The input orientation.
|
| JobDescription.OptimizeStrategy |
The optimization strategy.
|
| JobDescription.OutputFormat |
The output format.
|
| JobDescription.OutputOrientation |
The output orientation.
|
| JobDescription.SourceMapDetailLevel |
The source map generation levels.
|
| JobDescriptionBuilder |
Aids in the creation of inputs for the compiler.
|
| Locatable |
Gives access to a node's location in the original source code.
|
| LocationBoundingVisitor |
A pass for finding an approximation to a minimum-size SourceCodeLocation interval that contains a
given node.
|
| MapChunkAwareNodesToChunk<T> |
Pass which marks which ChunkAware nodes belong to which chunk.
|
| MarkDefaultDefinitions |
Compiler pass that traverses the tree and marks as default the value nodes
in a definition that has the corresponding annotation.
|
| MarkNonFlippableNodes |
Compiler pass that traverses the tree and marks as non flippable the nodes
that should not be BiDi flipped.
|
| MarkRemovableRulesetNodes |
Compiler pass that marks the ruleset nodes that should be removed from the
tree.
|
| MarkRemovableRulesetNodesForChunk<T> |
Compiler pass that marks ruleset nodes that should be removed from
the tree, within the confines of a single chunk.
|
| MergeAdjacentRulesetNodesWithSameDeclarations |
Compiler pass that merges adjacent ruleset nodes that have the same selector.
|
| MergeAdjacentRulesetNodesWithSameSelector |
Compiler pass that merges adjacent ruleset nodes that have the same selector.
|
| MinimalSubstitutionMap |
MinimalSubstitutionMap is a SubstitutionMap that renames CSS classes to the
shortest string possible.
|
| MultipleMappingSubstitutionMap |
|
| MultipleMappingSubstitutionMap.ValueWithMappings |
|
| MutatingVisitController |
|
| NullGssSourceMapGenerator |
|
| OutputRenamingMapFormat |
Defines the values for the --output-renaming-map-format flag in Closure
Stylesheets.
|
| ParseException |
This exception is thrown when parse errors are encountered.
|
| PassRunner |
|
| PassUtil |
Utility methods that can be useful for compiler passes.
|
| PrefixingSubstitutionMap |
A SubstitutionMap implementation that prefixes the renamed CSS class names (provided by a
delegate substitution map).
|
| PrettyPrinter |
A pretty-printer for CssTree instances.
|
| PrettyPrintingVisitor |
A pretty-printer for CssTree instances.
|
| PrintStreamErrorManager |
An error manager that prints errors to the print stream provided.
|
| ProcessComponents<T> |
|
| ProcessKeyframes |
Compiler pass which ensures that @keyframes rules are only allowed if
they are enabled.
|
| ProcessRefiners |
Compiler pass which ensures that refiners are correctly formated because
not every invalid format is rejected by the parser.
|
| Property |
An object that represents a CSS property.
|
| Proxiable<T> |
The idea behind the Proxiable interface is to improve performance of
compiler passes by eliminating unnecessary copying of AST subtrees.
|
| RecordingSubstitutionMap |
|
| RecordingSubstitutionMap.Builder |
A-la-carte builder.
|
| RelocateDefaultComments |
|
| RemoveDefaultDeclarations |
Compiler pass that removes declaration nodes that have all the property
values marked as default.
|
| RemoveEmptyValues |
Compiler pass that removes empty values and their containing declaration
nodes if they become empty.
|
| RemoveVendorSpecificProperties |
A CssCompilerPass that removes all vendor-specific properties, except
for one Vendor that is specified in the constructor.
|
| ReplaceConstantReferences |
Compiler pass that replaces the constant references with the right values.
|
| ReplaceMixins |
Compiler pass that replaces mixins with the corresponding mixin definitions
and replaces the variables in the definitions with the values given by the
mixin.
|
| ResolveCustomFunctionNodes |
This compiler pass replaces CssCustomFunctionNode instances with the
list of nodes returned by the GssFunction.
|
| ResolveCustomFunctionNodesForChunks<T> |
This compiler pass evaluates CssCustomFunctionNode instances only when they
have no references as arguments.
|
| SExprPrinter |
Build up an s-expression corresponding to the AST for debugging purposes.
|
| SExprPrintingVisitor |
Build up an s-expression corresponding to the AST for debugging purposes.
|
| SimpleSplittingSubstitutionMap |
|
| SimpleSplittingSubstitutionMapProvider |
|
| SimpleSubstitutionMap |
A SubstitutionMap that trivially renames its CSS classes by adding an
underscore.
|
| SkippingTreeVisitor |
Any compiler pass which derives from this is able to skip
processing rules that contain specific property names.
|
| SourceCode |
This is a wrapper for a file that will be compiled.
|
| SourceCodeIndicator |
Represents a line of source code, together with an associated "indicator"
line.
|
| SourceCodeLocation |
A location in source code.
|
| SourceCodeLocation.SourceCodePoint |
This describes a point in a string.
|
| SourceCodeLocationBuilder |
Aids in the creation of source code locations.
|
| SplitRulesetNodes |
Compiler pass that splits ruleset nodes into multiple ruleset nodes by
selector and declaration.
|
| SplittingSubstitutionMap |
The CSS class substitution map which splits CSS class names on the "-" (dash)
character and processes them separately using a delegate substitution map.
|
| StrictCss2 |
This compiler pass enforces that only correct CSS 2.1 is used.
|
| StrictCss3 |
This compiler pass enforces that only correct CSS level 3 is used.
|
| StrictCssBase |
Base class for compiler passes enforcing a specific CSS level.
|
| StringCharStream |
|
| SubstitutionMap |
An interface for a one-to-one string mapping function.
|
| SubstitutionMap.Initializable |
A substitution map that can be reconsitituted from saved mappings.
|
| SubstitutionMapProvider |
Provides substitution maps for use with command-line compilers.
|
| TemplateCompactPrinter<T> |
Printer for templates, which outputs GSS with holes to be filled
for references.
|
| TemplateCompactPrintingVisitor<T> |
Printer for templates, which outputs GSS with holes to be filled for references.
|
| Token |
Describes the input token stream.
|
| TokenMgrError |
Token Manager Error.
|
| UniformVisitor |
A visitor with a pair of operations (enter and leave) that apply to every node type.
|
| UniformVisitor.Adapters |
Adapter methods that transform UniformVisitors into CssTreeVisitors.
|
| UnrollLoops |
A compiler pass that unrolls loops.
|
| UnsafeMergeRulesetNodes |
Compiler pass that merges rulesets aggressively.
|
| ValidatePropertyValues |
A compiler pass that validates values of properties.
|
| Vendor |
A browser vendor that provides non-standard CSS properties that can be
identified by a special prefix.
|
| VerifyRecognizedProperties |
CSS Compiler pass that checks that all properties in the stylesheet are
either on the built-in recognized property list, or were whitelisted
explicitly.
|
| VisitController |
|
| WarnOnCustomProperty |
A compiler pass that warns when custom properties declarations and references are encountered,
since they are not yet supported by all the major browsers.
|