Class CssMixinNode
java.lang.Object
com.google.common.css.compiler.ast.CssNode
com.google.common.css.compiler.ast.CssNodesListNode<CssValueNode>
com.google.common.css.compiler.ast.CssAtRuleNode
com.google.common.css.compiler.ast.CssMixinNode
- All Implemented Interfaces:
Locatable
A node representing a mixin.
Mixins can be used in places where declarations are expected. They are
replaced by the corresponding mixin definition.
For example: @mixin gradient(top, 0%, 80%, 70%, #BADA55)
-
Nested Class Summary
Nested classes/interfaces inherited from class com.google.common.css.compiler.ast.CssAtRuleNode
CssAtRuleNode.Type -
Field Summary
Fields inherited from class com.google.common.css.compiler.ast.CssNodesListNode
children -
Constructor Summary
ConstructorsConstructorDescriptionCssMixinNode(CssMixinNode node) Creates a new mixin node that is a deep copy of the given node.CssMixinNode(String definitionName, CssFunctionArgumentsNode args, SourceCodeLocation location) -
Method Summary
Modifier and TypeMethodDescriptiondeepCopy()Returns the arguments belonging to this mixin as a node.Methods inherited from class com.google.common.css.compiler.ast.CssAtRuleNode
getBlock, getName, getParameters, getParametersCount, getType, setParameters, toStringMethods inherited from class com.google.common.css.compiler.ast.CssNodesListNode
addChildToBack, childIterable, getChildAt, getChildIterator, getChildren, getLastChild, getSourceCodeLocation, isEmpty, isEnclosedWithBraces, numChildren, replaceChildAtMethods inherited from class com.google.common.css.compiler.ast.CssNode
ancestors, appendComment, deepCopyNodes, equals, getComments, getParent, getShouldBeFlipped, getVisitController, hasComment, hashCode, inFunArgs, setComments, setShouldBeFlipped, setSourceCodeLocation
-
Constructor Details
-
CssMixinNode
public CssMixinNode(String definitionName, CssFunctionArgumentsNode args, SourceCodeLocation location) -
CssMixinNode
Creates a new mixin node that is a deep copy of the given node.- Parameters:
node- node
-
-
Method Details