Class CollectMixinDefinitions

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

public class CollectMixinDefinitions extends DefaultTreeVisitor implements CssCompilerPass
Compiler pass that collects all mixin definitions and afterwards provides a mapping of mixin definition names to CssMixinDefinitionNode instances.

In addition, this pass checks that no two definitions with the same name exist and that no definition exits that has arguments with the same name exist.

CreateConstantReferences has to run before.