src/Luminous/Utils/SassParser.php
private function cleanup()
    {
        foreach ($this->tokens as $i => $t) {
            if ($t[0] === self::$deleteToken) {
                unset($this->tokens[$i]);
            }
        }
        $this->tokens = array_values($this->tokens);
    }
private function cleanup()
    {
        foreach ($this->tokens as $i => $t) {
            if ($t[0] === self::$deleteToken) {
                unset($this->tokens[$i]);
            }
        }
        $this->tokens = array_values($this->tokens);
    }
private function cleanup ( ) { foreach ( $ this -> tokens as $ i => $ t ) { if ( $ t [ 0 ] === self :: $ deleteToken ) { unset ( $ this -> tokens [ $ i ] ) ; } } $ this -> tokens = array_values ( $ this -> tokens ) ; }
Cleans up the token stream by deleting any tokens marked for
deletion, and makes sure the array is continuous afterwards.
Cleans up the token stream by deleting any tokens marked for deletion and makes sure the array is continuous afterwards .