visitMixinDefinition method

void visitMixinDefinition (MixinDefinition mixinNode, VisitArgs visitArgs)

mixin definitions do not get eval'd - this means they keep state so we have to clear that state here so it isn't used if toCSS is called twice

Implementation

void visitMixinDefinition(MixinDefinition mixinNode, VisitArgs visitArgs) {
  mixinNode.frames = <Node>[];

//2.3.1
//  visitMixinDefinition: function (mixinNode, visitArgs) {
//      // mixin definitions do not get eval'd - this means they keep state
//      // so we have to clear that state here so it isn't used if toCSS is called twice
//      mixinNode.frames = [];
//  },
}