Class CssProvideNode
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.CssProvideNode
- All Implemented Interfaces:
ChunkAware,Locatable
CssProvideNode corresponds to a @provide declaration in GSS.-
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
ConstructorsConstructorDescriptionCssProvideNode(CssLiteralNode name, List<CssCommentNode> comments, SourceCodeLocation sourceCodeLocation) -
Method Summary
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
-
CssProvideNode
public CssProvideNode(CssLiteralNode name, List<CssCommentNode> comments, SourceCodeLocation sourceCodeLocation)
-
-
Method Details
-
getProvide
-
deepCopy
-
getChunk
Description copied from interface:ChunkAwareGets the chunk id of the node.- Specified by:
getChunkin interfaceChunkAware- Returns:
- the chunk id or
nullif no chunk id was previously set
-
setChunk
Description copied from interface:ChunkAwareSets the chunk id on the node.- Specified by:
setChunkin interfaceChunkAware- Parameters:
chunk- an object identifying a chunk
-