Class RelocateDefaultComments

java.lang.Object
com.google.common.css.compiler.ast.DefaultTreeVisitor
com.google.common.css.compiler.ast.RelocateDefaultComments
All Implemented Interfaces:
AtRuleHandler, CssCompilerPass, CssTreeVisitor

public class RelocateDefaultComments extends DefaultTreeVisitor implements CssCompilerPass
A compiler pass that moves all comments of each CssDefinitionNode's children to the CssDefinitionNode itself. (This is to ensure that "@default" annotations are attached to the CssDefinitionNode directly.)