original_string: protected function quotedAttributeValue($quote) {
          $stoplist = "\f" . $quote;
          $val = '';
          $tok = $this->scanner->current();
          while (strspn($tok, $stoplist) == 0 && $tok !== false) {
              if ($tok == '&') {
                  $val .= $this->decodeCharacterReference(true);
                  $tok = $this->scanner->current();
              } else {
                  $val .= $tok;
                  $tok = $this->scanner->next();
              }
          }
          $this->scanner->next();
          return $val;
      }
code: protected function quotedAttributeValue($quote) {
          $stoplist = "\f" . $quote;
          $val = '';
          $tok = $this->scanner->current();
          while (strspn($tok, $stoplist) == 0 && $tok !== false) {
              if ($tok == '&') {
                  $val .= $this->decodeCharacterReference(true);
                  $tok = $this->scanner->current();
              } else {
                  $val .= $tok;
                  $tok = $this->scanner->next();
              }
          }
          $this->scanner->next();
          return $val;
      }
code_tokens: protected function quotedAttributeValue ( $ quote ) { $ stoplist = "\f" . $ quote ; $ val = '' ; $ tok = $ this -> scanner -> current ( ) ; while ( strspn ( $ tok , $ stoplist ) == 0 && $ tok !== false ) { if ( $ tok == '&' ) { $ val .= $ this -> decodeCharacterReference ( true ) ; $ tok = $ this -> scanner -> current ( ) ; } else { $ val .= $ tok ; $ tok = $ this -> scanner -> next ( ) ; } } $ this -> scanner -> next ( ) ; return $ val ; }
docstring: Get an attribute value string.
  
  @param string $quote
  IMPORTANT: This is a series of chars! Any one of which will be considered
  termination of an attribute's value. E.g. "\"'" will stop at either
  ' or ".
  @return string The attribute value.
docstring_tokens: Get an attribute value string .