public function compress()
    {
        $current   = $this->lexer->lookahead['position'];
        $this->lexer->reset();
        $string = '';
        
        while($this->lexer->moveNext() && $this->lexer->lookahead['position'] <= $current) {
            $string .= $this->lexer->lookahead['value'];
        }
        
        return $string;
    }
public function compress()
    {
        $current   = $this->lexer->lookahead['position'];
        $this->lexer->reset();
        $string = '';
        
        while($this->lexer->moveNext() && $this->lexer->lookahead['position'] <= $current) {
            $string .= $this->lexer->lookahead['value'];
        }
        
        return $string;
    }
public function compress ( ) { $ current = $ this -> lexer -> lookahead [ 'position' ] ; $ this -> lexer -> reset ( ) ; $ string = '' ; while ( $ this -> lexer -> moveNext ( ) && $ this -> lexer -> lookahead [ 'position' ] <= $ current ) { $ string .= $ this -> lexer -> lookahead [ 'value' ] ; } return $ string ; }
Compress the lexer into value string until current lookahead

@access public
@return string the compressed value string
Compress the lexer into value string until current lookahead