original_string: protected function selector(&$out)
      {
          $selector = [];
  
          for (;;) {
              if ($this->match('[>+~]+', $m)) {
                  $selector[] = [$m[0]];
                  continue;
              }
  
              if ($this->selectorSingle($part)) {
                  $selector[] = $part;
                  $this->match('\s+', $m);
                  continue;
              }
  
              if ($this->match('\/[^\/]+\/', $m)) {
                  $selector[] = [$m[0]];
                  continue;
              }
  
              break;
          }
  
          if (count($selector) === 0) {
              return false;
          }
  
          $out = $selector;
          return true;
      }
code: protected function selector(&$out)
      {
          $selector = [];
  
          for (;;) {
              if ($this->match('[>+~]+', $m)) {
                  $selector[] = [$m[0]];
                  continue;
              }
  
              if ($this->selectorSingle($part)) {
                  $selector[] = $part;
                  $this->match('\s+', $m);
                  continue;
              }
  
              if ($this->match('\/[^\/]+\/', $m)) {
                  $selector[] = [$m[0]];
                  continue;
              }
  
              break;
          }
  
          if (count($selector) === 0) {
              return false;
          }
  
          $out = $selector;
          return true;
      }
code_tokens: protected function selector ( & $ out ) { $ selector = [ ] ; for ( ; ; ) { if ( $ this -> match ( '[>+~]+' , $ m ) ) { $ selector [ ] = [ $ m [ 0 ] ] ; continue ; } if ( $ this -> selectorSingle ( $ part ) ) { $ selector [ ] = $ part ; $ this -> match ( '\s+' , $ m ) ; continue ; } if ( $ this -> match ( '\/[^\/]+\/' , $ m ) ) { $ selector [ ] = [ $ m [ 0 ] ] ; continue ; } break ; } if ( count ( $ selector ) === 0 ) { return false ; } $ out = $ selector ; return true ; }
docstring: Parse whitespace separated selector list
  
  @param array $out
  
  @return boolean
docstring_tokens: Parse whitespace separated selector list