michael@0: /* This Source Code Form is subject to the terms of the Mozilla Public michael@0: * License, v. 2.0. If a copy of the MPL was not distributed with this michael@0: * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ michael@0: michael@0: #ifndef nsHtml5Atom_h michael@0: #define nsHtml5Atom_h michael@0: michael@0: #include "nsIAtom.h" michael@0: #include "mozilla/Attributes.h" michael@0: michael@0: /** michael@0: * A dynamic atom implementation meant for use within the nsHtml5Tokenizer and michael@0: * nsHtml5TreeBuilder owned by one nsHtml5Parser or nsHtml5StreamParser michael@0: * instance. michael@0: * michael@0: * Usage is documented in nsHtml5AtomTable and nsIAtom. michael@0: */ michael@0: class nsHtml5Atom MOZ_FINAL : public nsIAtom michael@0: { michael@0: public: michael@0: NS_DECL_ISUPPORTS michael@0: NS_DECL_NSIATOM michael@0: michael@0: nsHtml5Atom(const nsAString& aString); michael@0: ~nsHtml5Atom(); michael@0: }; michael@0: michael@0: #endif // nsHtml5Atom_h