private function handleMultiline(): void
    {
        if ($this->string->isNot(Tokens::OPEN_BRACKET)) {
            return;
        }

        $this->string->next();
        while ($this->string->valid()) {
            $this->handleTxt();
            $this->handleComment();

            if ($this->string->is(Tokens::LINE_FEED)) {
                $this->string->next();
                continue;
            }

            if ($this->string->is(Tokens::CLOSE_BRACKET)) {
                $this->string->next();

                return;
            }

            $this->append();
        }

        throw new ParseException('End of file reached. Unclosed bracket.');
    }
private function handleMultiline(): void
    {
        if ($this->string->isNot(Tokens::OPEN_BRACKET)) {
            return;
        }

        $this->string->next();
        while ($this->string->valid()) {
            $this->handleTxt();
            $this->handleComment();

            if ($this->string->is(Tokens::LINE_FEED)) {
                $this->string->next();
                continue;
            }

            if ($this->string->is(Tokens::CLOSE_BRACKET)) {
                $this->string->next();

                return;
            }

            $this->append();
        }

        throw new ParseException('End of file reached. Unclosed bracket.');
    }
private function handleMultiline ( ) : void { if ( $ this -> string -> isNot ( Tokens :: OPEN_BRACKET ) ) { return ; } $ this -> string -> next ( ) ; while ( $ this -> string -> valid ( ) ) { $ this -> handleTxt ( ) ; $ this -> handleComment ( ) ; if ( $ this -> string -> is ( Tokens :: LINE_FEED ) ) { $ this -> string -> next ( ) ; continue ; } if ( $ this -> string -> is ( Tokens :: CLOSE_BRACKET ) ) { $ this -> string -> next ( ) ; return ; } $ this -> append ( ) ; } throw new ParseException ( 'End of file reached. Unclosed bracket.' ) ; }
Move multi-line records onto single line.

@throws ParseException
Move multi - line records onto single line .