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

        $this->append();

        while ($this->string->isNot(Tokens::DOUBLE_QUOTES)) {
            if (!$this->string->valid()) {
                throw new ParseException('Unbalanced double quotation marks. End of file reached.');
            }

            //If escape character
            if ($this->string->is(Tokens::BACKSLASH)) {
                $this->append();
            }

            if ($this->string->is(Tokens::LINE_FEED)) {
                throw new ParseException('Line Feed found within double quotation marks context.', $this->string);
            }

            $this->append();
        }
    }
private function handleTxt(): void
    {
        if ($this->string->isNot(Tokens::DOUBLE_QUOTES)) {
            return;
        }

        $this->append();

        while ($this->string->isNot(Tokens::DOUBLE_QUOTES)) {
            if (!$this->string->valid()) {
                throw new ParseException('Unbalanced double quotation marks. End of file reached.');
            }

            //If escape character
            if ($this->string->is(Tokens::BACKSLASH)) {
                $this->append();
            }

            if ($this->string->is(Tokens::LINE_FEED)) {
                throw new ParseException('Line Feed found within double quotation marks context.', $this->string);
            }

            $this->append();
        }
    }
private function handleTxt ( ) : void { if ( $ this -> string -> isNot ( Tokens :: DOUBLE_QUOTES ) ) { return ; } $ this -> append ( ) ; while ( $ this -> string -> isNot ( Tokens :: DOUBLE_QUOTES ) ) { if ( ! $ this -> string -> valid ( ) ) { throw new ParseException ( 'Unbalanced double quotation marks. End of file reached.' ) ; } //If escape character if ( $ this -> string -> is ( Tokens :: BACKSLASH ) ) { $ this -> append ( ) ; } if ( $ this -> string -> is ( Tokens :: LINE_FEED ) ) { throw new ParseException ( 'Line Feed found within double quotation marks context.' , $ this -> string ) ; } $ this -> append ( ) ; } }
Handle text inside of double quotations. When this function is called, the String pointer MUST be at the
double quotation mark.

@throws ParseException
Handle text inside of double quotations . When this function is called the String pointer MUST be at the double quotation mark .