Class CssCompositeValueNode
java.lang.Object
com.google.common.css.compiler.ast.CssNode
com.google.common.css.compiler.ast.CssValueNode
com.google.common.css.compiler.ast.CssCompositeValueNode
- All Implemented Interfaces:
Locatable
- Direct Known Subclasses:
CssMathNode
A node that contains a list of value nodes that together represent one logical value. For
example, font-family alternatives like
Arial, Helvetica, Sans-serif are logically one
value in the font declaration. Likewise the font size specification 12pt/14pt
contains two values (the font size and line height) that are really logically one value.-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumRecognized operators. -
Constructor Summary
ConstructorsConstructorDescriptionCopy constructor for a composite value node.CssCompositeValueNode(List<CssValueNode> compositeValues, CssCompositeValueNode.Operator operator, SourceCodeLocation sourceCodeLocation) Constructor of a composite value node. -
Method Summary
Methods inherited from class com.google.common.css.compiler.ast.CssValueNode
getIsDefault, getValue, setIsDefault, setValueMethods inherited from class com.google.common.css.compiler.ast.CssNode
ancestors, appendComment, deepCopyNodes, equals, getComments, getParent, getShouldBeFlipped, getSourceCodeLocation, getVisitController, hasComment, hashCode, inFunArgs, setComments, setShouldBeFlipped, setSourceCodeLocation
-
Constructor Details
-
CssCompositeValueNode
public CssCompositeValueNode(List<CssValueNode> compositeValues, CssCompositeValueNode.Operator operator, @Nullable SourceCodeLocation sourceCodeLocation) Constructor of a composite value node.- Parameters:
compositeValues- List of composite valuesoperator- Operator that connects the valuessourceCodeLocation- The location of the code
-
CssCompositeValueNode
Copy constructor for a composite value node.- Parameters:
node- The composite node to copy
-
-
Method Details
-
deepCopy
- Specified by:
deepCopyin classCssValueNode
-
getValues
-
getOperator
-
hasParenthesis
public boolean hasParenthesis() -
toString
Description copied from class:CssValueNodeUse for debugging only.- Overrides:
toStringin classCssValueNode- See Also:
-