| AbbreviatePositionalValues |
Check shorthand rule declarations that define positional values,
such as padding and margin, and eliminate duplicate values if possible.
|
| AutoExpandBrowserPrefix |
A compiler pass that automatically detects certain properties that need additional
browser specific property declarations, and adds them.
|
| 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.
|
| CheckDependencyNodes |
|
| CheckMissingRequire |
A compiler pass that checks for missing @require lines for def constant references
and mixins.
|
| 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.
|
| CssClassRenaming |
Compiler pass that does CSS class renaming given a renaming map.
|
| DefaultGssSourceMapGenerator |
Class to collect and generate source map(v3) for Gss compiler.
|
| 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.
|
| EvaluateCompileConstants |
Evaluates integer constants provided typically through command line.
|
| 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.
|
| HandleMissingConstantDefinitions |
|
| HandleUnknownAtRuleNodes |
Compiler pass that handles remaining CssUnknownAtRuleNode instances
by optionally reporting them as errors and optionally removing
them.
|
| HasConditionalNodes |
|
| 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.
|
| NullGssSourceMapGenerator |
|
| PassRunner |
|
| PassUtil |
Utility methods that can be useful for compiler passes.
|
| PrettyPrinter |
A pretty-printer for CssTree instances.
|
| PrettyPrintingVisitor |
A pretty-printer for CssTree instances.
|
| 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.
|
| 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.
|
| SplitRulesetNodes |
Compiler pass that splits ruleset nodes into multiple ruleset nodes by
selector and declaration.
|
| 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.
|
| 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.
|
| 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.
|
| 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.
|
| 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.
|