protected function runningState()
    {
        $char = $this->getCurrentChar();

        if ($char === self::CHAR_AT) {
            $this->setState(self::IN_ATRULE);
            $this->bufferize($char);
            $this->output($char);
        } elseif ($char === self::CHAR_STAR && $this->getPreviousChar() === self::CHAR_SLASH) {
            $this->setState(self::IN_MAINCOMMENT);
            $this->output($char);
        } elseif ($char === self::CHAR_SLASH) {
            $this->output($char);
        } elseif (self::isWhiteSpace($char) === false && $char !== self::CHAR_CLOSINGBRACE) {
            $this->bufferize($char);
            $this->setState(self::IN_SELECTOR);
        } else {
            $this->output($char);
        }
    }
protected function runningState()
    {
        $char = $this->getCurrentChar();

        if ($char === self::CHAR_AT) {
            $this->setState(self::IN_ATRULE);
            $this->bufferize($char);
            $this->output($char);
        } elseif ($char === self::CHAR_STAR && $this->getPreviousChar() === self::CHAR_SLASH) {
            $this->setState(self::IN_MAINCOMMENT);
            $this->output($char);
        } elseif ($char === self::CHAR_SLASH) {
            $this->output($char);
        } elseif (self::isWhiteSpace($char) === false && $char !== self::CHAR_CLOSINGBRACE) {
            $this->bufferize($char);
            $this->setState(self::IN_SELECTOR);
        } else {
            $this->output($char);
        }
    }
protected function runningState ( ) { $ char = $ this -> getCurrentChar ( ) ; if ( $ char === self :: CHAR_AT ) { $ this -> setState ( self :: IN_ATRULE ) ; $ this -> bufferize ( $ char ) ; $ this -> output ( $ char ) ; } elseif ( $ char === self :: CHAR_STAR && $ this -> getPreviousChar ( ) === self :: CHAR_SLASH ) { $ this -> setState ( self :: IN_MAINCOMMENT ) ; $ this -> output ( $ char ) ; } elseif ( $ char === self :: CHAR_SLASH ) { $ this -> output ( $ char ) ; } elseif ( self :: isWhiteSpace ( $ char ) === false && $ char !== self :: CHAR_CLOSINGBRACE ) { $ this -> bufferize ( $ char ) ; $ this -> setState ( self :: IN_SELECTOR ) ; } else { $ this -> output ( $ char ) ; } }
Instructions to be performed in 'running' state.
Instructions to be performed in running state .