code: private Token scanOneLineComment(int startPos) throws IOException {
          int c;
          int startLine = mSource.getLineNumber();
          int endPos = mSource.getEndPosition();
          mWord.setLength(0);
          mWord.append('/').append('/');
  
          while ( (c = mSource.peek()) != -1 ) {
              if (c == '\r' || c == '\n') {
                  break;
              }
              
              mSource.read();
              mWord.append((char)c);
  
              endPos = mSource.getEndPosition();
          }
  
          return new StringToken(startLine, startPos, endPos,
                                 Token.COMMENT, mWord.toString());
      }
docs: called.