Package com.google.common.css.compiler.ast
package com.google.common.css.compiler.ast
-
ClassDescriptionBase parser implementation that delegates management of the underlying JavaCC parser to the subclass.A
BasicErrorManagerthat makes its errors and warnings accessible to clients.A handler for at rules.A basic error manager that sorts all errors reported to it and generate a sorted report when theBasicErrorManager.generateReport()method is called.This interface describes a character stream that maintains line and column number positions of the characters.Interface to annotate CSS nodes with target CSS chunk id.An abstract representation of a list of nodes that are enclosed inside braces.A node corresponding to an at-rule such as@ifor@media.The Types of at-rules we (should/could) know about.ACssRefinerNodeimplementation that represents an attribute selector.Determines how the given value has to match the value of the attribute so that the attribute is selected.ACssAbstractBlockNodethat contains only rulesets and @-rules.A node representing a boolean expression to evaluate.Boolean expression node types.ACssRefinerNodeimplementation that represents a selector for a class.Specifies the kind or absence of a component scoping prefix.A node representing a combinator of selectors in the AST.Contains the list of all possible CSS combinators.Node corresponding to a comment.Indicates how we want to construct the prefix strings for this component.A node that contains a list of value nodes that together represent one logical value.Recognized operators.A node representing a (complex) conditional block.A node representing a conditional rule such as @if or @else.A node holding a reference to a constant or an argument of a mixin definition.A node representing a custom GSS function call.Copy-on-Write proxy forCssCustomFunctionNodeused to avoid copying of function call subtrees inReplaceConstantReferencespass.ACssAbstractBlockNodethat contains only declarations, @-rules, and conditional blocks.A node representing a CSS declaration in the abstract syntax tree.A node representing a GSS definition.CssFontFaceNodecorresponds to a@font-facedeclaration in CSS.A node representing a@forloop rule.A list of nodes that are arguments of a function.A node representing a function.Contains the list of recognized CSS functions.Node corresponding to a hex color.ACssRefinerNodeimplementation that represents a selector for an id.A list of nodes that contains only import rules.A node representing an @import rule.A node representing a keyframe style rule.A node representing an @-webkit-keyframes rule.A list of nodes that contains only keys (for keyframes).A node representing a key (for keyframes) in the AST.A node that holds a CSS literal.A node that is a reference to a for loop variable.A CSS node that holds a mathematical expression.A node representing an @media rule.A node representing a mixin definition.A node representing a mixin.A node of the abstract syntax tree.CssNodesListNode<T extends CssNode>Represents a list of nodes.A CSS node containing a numeric value such as height, width, length, or percentage values.A node representing an @page rule.A node representing a page selector @-rule that can be used inside an@pagerule.A handler for parse events in the spirit of SAC and SAX.Builds a boolean expression.Builds an expression.Builds an import.Builds a media rule.Node representing the priority of a declaration.Types of priorityA node representing a CSS property, such as background or padding.A list of values for a property in a declaration.CssProvideNodecorresponds to a@providedeclaration in GSS.ACssRefinerNodeimplementation that represents a pseudo-class.Determines if the pseudo-class is a function and if so which one.ACssRefinerNodeimplementation that represents a pseudo-element.A list of nodes that are refiners of a selector.A node representing a refiner of a selector in the AST.Contains the list of all possible CSS refiners.CssRequireNodecorresponds to a@requiredeclaration in GSS.The root of a node.A node representing a style rule.A list of nodes that contains only selectors.A node representing a selector in the AST.The specifity of a selector is used to select among rules with the same importance and origin.Node corresponding to a string value.CSS syntax permits strings to be expressed either using single-quotes or double-quotes.A mutable abstract syntax tree that corresponds to a CSS input file.Visitor interface for CSS abstract syntax trees.A node that represent a unicode range.An unknown or generic at-rule node.A CSS node that holds a value of some sort.Visits everything and does nothing.The error manager is in charge of storing, organizing and displaying errors.GSS parser error description.A String template, together with values for the template holes.Encapsulates a custom function callable from GSS stylesheet files.Exception class to be thrown by Gss functions.A wrapper around the JavaCC generated GSS parser.A parser that recognizes GSS files and builds the new AST.Token literal values and constants.Token Manager.This exception is thrown when parse errors are encountered.An error manager that prints errors to the print stream provided.An object that represents a CSS property.Proxiable<T>The idea behind theProxiableinterface is to improve performance of compiler passes by eliminating unnecessary copying of AST subtrees.A compiler pass that moves all comments of eachCssDefinitionNode's children to theCssDefinitionNodeitself.Any compiler pass which derives from this is able to skip processing rules that contain specific property names.EfficientStringbasedCharStreamimplementation.Describes the input token stream.Token Manager Error.