Reader(nsIBuffer* readBuffer) : mReadBuffer(readBuffer), mBytesRead(0), mDone(PR_FALSE) { NS_INIT_REFCNT(); NS_ADDREF(mReadBuffer); }
JS::Reader::Reader(const String &source, const String &sourceLocation, uint32 initialLineNum): source(source), sourceLocation(sourceLocation), initialLineNum(initialLineNum) { const char16 *b = Reader::source.c_str(); begin = b; p = b; end = b + Reader::source.size(); #ifdef DEBUG recordString = 0; #endif beginLine(); }
    Reader(nsIBuffer* readBuffer)        : mReadBuffer(readBuffer), mBytesRead(0), mDone(PR_FALSE) {        NS_INIT_REFCNT();        NS_ADDREF(mReadBuffer);    }