Implements @each

def _do_each(self, rule, p_selectors, p_parents, p_children, scope, media, c_lineno, c_property, c_codestr, code, name):
        """
        Implements @each
        """
        var, _, name = name.partition('in')
        name = self.calculate(name, rule[CONTEXT], rule[OPTIONS], rule)
        if name:
            name = ListValue(name)
            var = var.strip()
            var = self.do_glob_math(
                var, rule[CONTEXT], rule[OPTIONS], rule, True)

            for n, v in name.items():
                v = to_str(v)
                rule[CODESTR] = c_codestr
                rule[CONTEXT][var] = v
                if not isinstance(n, int):
                    rule[CONTEXT][n] = v
                self.manage_children(
                    rule, p_selectors, p_parents, p_children, scope, media)