Leafo\ScssPhp\Compiler::compileRoot PHP Method

compileRoot() protected method

Compile root
protected compileRoot ( Leafo\ScssPhp\Block $rootBlock )
$rootBlock Leafo\ScssPhp\Block
    protected function compileRoot(Block $rootBlock)
    {
        $this->rootBlock = $this->scope = $this->makeOutputBlock(Type::T_ROOT);
        $this->compileChildrenNoReturn($rootBlock->children, $this->scope);
        $this->flattenSelectors($this->scope);
        $this->missingSelectors();
    }
Compiler