/* This Source Code Form is subject to the terms of the Mozilla Public *License,v.2.0.IfacopyoftheMPLwasnotdistributedwiththis
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
private: // Loops over the input with TokenizerBase::Parse and calls the Consumer // callback.
nsresult Process();
#ifdef DEBUG // True when inside the consumer callback, used only for assertions. bool mConsuming{false}; #endif// DEBUG // Modifyable only from the Consumer callback, tells the parser to break, // rollback and wait for more input. bool mNeedMoreInput{false}; // Modifyable only from the Consumer callback, tells the parser to rollback // and parse the input again, with (if modified) new settings of the // tokenizer. bool mRollback{false}; // The input buffer. Updated with each call to Feed/FinishInput.
nsCString mInput; // Numerical index pointing at the current cursor position. We don't keep // direct reference to the string buffer since the buffer gets often // reallocated.
nsCString::index_type mInputCursor{0}; // Refernce to the consumer function.
Consumer mConsumer;
};
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.