Beans_Lessc::compileCSSBlock PHP Method

compileCSSBlock() protected method

protected compileCSSBlock ( $block )
    protected function compileCSSBlock($block)
    {
        $env = $this->pushEnv();
        $selectors = $this->compileSelectors($block->tags);
        $env->selectors = $this->multiplySelectors($selectors);
        $out = $this->makeOutputBlock(null, $env->selectors);
        $this->scope->children[] = $out;
        $this->compileProps($block, $out);
        $block->scope = $env;
        // mixins carry scope with them!
        $this->popEnv();
    }