Class CssAtRuleNode
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
- All Implemented Interfaces:
Locatable
- Direct Known Subclasses:
CssCharSetNode,CssComponentNode,CssConditionalRuleNode,CssDefinitionNode,CssFontFaceNode,CssForLoopRuleNode,CssImportRuleNode,CssKeyframesNode,CssMediaRuleNode,CssMixinDefinitionNode,CssMixinNode,CssPageRuleNode,CssPageSelectorNode,CssProvideNode,CssRequireNode,CssUnknownAtRuleNode
A node corresponding to an at-rule such as
@if or @media.-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumThe Types of at-rules we (should/could) know about. -
Field Summary
Fields inherited from class com.google.common.css.compiler.ast.CssNodesListNode
children -
Method Summary
Modifier and TypeMethodDescriptionprotected CssAbstractBlockNodegetBlock()Subclasses should overridegetBlockto return a more specific subclass ofCssAbstractBlockNode.getName()intgetType()voidsetParameters(List<CssValueNode> parameters) toString()For debugging only.Methods 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, deepCopy, deepCopyNodes, equals, getComments, getParent, getShouldBeFlipped, getVisitController, hasComment, hashCode, inFunArgs, setComments, setShouldBeFlipped, setSourceCodeLocation
-
Method Details
-
getType
-
getName
-
getParameters
-
getParametersCount
public int getParametersCount() -
setParameters
-
getBlock
Subclasses should overridegetBlockto return a more specific subclass ofCssAbstractBlockNode. -
toString
For debugging only.- Overrides:
toStringin classCssNodesListNode<CssValueNode>- See Also:
-