Class CssUnknownAtRuleNode
- 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.CssUnknownAtRuleNode
-
- All Implemented Interfaces:
Locatable
public class CssUnknownAtRuleNode extends CssAtRuleNode
An unknown or generic at-rule node.The
GssParseronly creates unknown at-rule nodes. Later passes then converts them into more specific at-rule nodes, as needed. It's OK to leave a known at-rule type as unknown if it doesn't require further processing.
-
-
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
Constructors Constructor Description CssUnknownAtRuleNode(CssLiteralNode name, boolean hasBlock)CssUnknownAtRuleNode(CssUnknownAtRuleNode node)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CssUnknownAtRuleNodedeepCopy()CssAbstractBlockNodegetBlock()Returns an implementation ofCssAbstractBlockNodeor null.booleanisOkWithoutProcessing()java.lang.StringtoString()For debugging only.-
Methods inherited from class com.google.common.css.compiler.ast.CssAtRuleNode
getName, getParameters, getParametersCount, getType, setParameters
-
Methods inherited from class com.google.common.css.compiler.ast.CssNodesListNode
addChildToBack, childIterable, getChildAt, getChildIterator, getChildren, getLastChild, getSourceCodeLocation, isEmpty, isEnclosedWithBraces, numChildren, replaceChildAt
-
Methods 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 Detail
-
CssUnknownAtRuleNode
public CssUnknownAtRuleNode(CssLiteralNode name, boolean hasBlock)
-
CssUnknownAtRuleNode
public CssUnknownAtRuleNode(CssUnknownAtRuleNode node)
-
-
Method Detail
-
deepCopy
public CssUnknownAtRuleNode deepCopy()
-
isOkWithoutProcessing
public boolean isOkWithoutProcessing()
-
toString
public java.lang.String toString()
For debugging only.- Overrides:
toStringin classCssAtRuleNode- See Also:
Object.toString()
-
getBlock
public CssAbstractBlockNode getBlock()
Returns an implementation ofCssAbstractBlockNodeor null.- Overrides:
getBlockin classCssAtRuleNode
-
-