private function flushBuffer()
    {
        if (strlen($this->buffer) > 0) {
            $this->tokens[] = array(
                self::TYPE  => self::T_TEXT,
                self::LINE  => $this->line,
                self::VALUE => $this->buffer,
            );
            $this->buffer   = '';
        }
    }
private function flushBuffer()
    {
        if (strlen($this->buffer) > 0) {
            $this->tokens[] = array(
                self::TYPE  => self::T_TEXT,
                self::LINE  => $this->line,
                self::VALUE => $this->buffer,
            );
            $this->buffer   = '';
        }
    }
private function flushBuffer ( ) { if ( strlen ( $ this -> buffer ) > 0 ) { $ this -> tokens [ ] = array ( self :: TYPE => self :: T_TEXT , self :: LINE => $ this -> line , self :: VALUE => $ this -> buffer , ) ; $ this -> buffer = '' ; } }
Flush the current buffer to a token.
Flush the current buffer to a token .