Package com.google.common.css
-
Interface Summary Interface Description ExitCodeHandler ExitCodeHandlerhandles a request to exit with a specified exit code.GssFunctionMapProvider Provides maps of custom GSS functions for use with command-line compilers.Locatable Gives access to a node's location in the original source code.MultipleMappingSubstitutionMap MultipleMappingSubstitutionMapis a special type ofSubstitutionMapthat can create multiple mappings for a single lookup.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. -
Class Summary Class Description 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.DefaultExitCodeHandler IdentitySubstitutionMap IdentitySubstitutionMapis a trivial implementation ofSubstitutionMapthat returns the key as the value for the requested key.JobDescription Provides inputs and options to Closure Stylesheets.JobDescriptionBuilder Aids in the creation of inputs for the compiler.MinimalSubstitutionMap MinimalSubstitutionMap is a SubstitutionMap that renames CSS classes to the shortest string possible.MultipleMappingSubstitutionMap.ValueWithMappings Contains both the value and mappings returned byMultipleMappingSubstitutionMap.getValueWithMappings(String).PrefixingSubstitutionMap ASubstitutionMapimplementation that prefixes the renamed CSS class names (provided by a delegate substitution map).RecordingSubstitutionMap A decorator for aSubstitutionMapthat records which values it maps.RecordingSubstitutionMap.Builder A-la-carte builder.SimpleSplittingSubstitutionMap This class usesSplittingSubstitutionMapto split css class names to their parts and thenSimpleSubstitutionMapto append an underscore to each part.SimpleSplittingSubstitutionMapProvider Provides aSimpleSplittingSubstitutionMapfor use via the command-line compiler.SimpleSubstitutionMap A SubstitutionMap that trivially renames its CSS classes by adding an underscore.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.SplittingSubstitutionMap The CSS class substitution map which splits CSS class names on the "-" (dash) character and processes them separately using a delegate substitution map. -
Enum Summary Enum Description 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.OutputRenamingMapFormat Defines the values for the --output-renaming-map-format flag in Closure Stylesheets.Vendor A browser vendor that provides non-standard CSS properties that can be identified by a special prefix.