code: function _hasStream() {
              while (stream.eol()) {
                  line++;
                  if (line >= lineCount) {
                      return false;
                  }
                  if (_hasNonWhitespace(currentSelector)) {
                      // If we are in a current selector and starting a newline,
                      // make sure there is whitespace in the selector
                      currentSelector += " ";
                  }
                  stream = new CodeMirror.StringStream(lines[line]);
              }
              return true;
          }
docs: implement _firstToken()/_nextToken() methods to provide a single stream of tokens