#include "nsToken.h"#include "nsHTMLTags.h"#include "nsString.h"#include "nsScannerString.h"
Include dependency graph for nsHTMLTokens.h:Classes | |
| class | CHTMLToken |
| This declares the basic token type used in the HTML DTD's. More... | |
| class | CStartToken |
| This declares start tokens, which always take the form <xxxx>. More... | |
| class | CEndToken |
| This declares end tokens, which always take the form </xxxx>. More... | |
| class | CCommentToken |
| This declares comment tokens. More... | |
| class | CEntityToken |
| This class declares entity tokens, which always take the form . More... | |
| class | CWhitespaceToken |
| Whitespace tokens are used where whitespace can be detected as distinct from text. More... | |
| class | CTextToken |
| Text tokens contain the normalized form of html text. More... | |
| class | CCDATASectionToken |
| CDATASection tokens contain raw unescaped text content delimited by a ![CDATA[ and ]]. More... | |
| class | CMarkupDeclToken |
| Declaration tokens contain raw unescaped text content (not really, but right now we use this only for view source). More... | |
| class | CAttributeToken |
| Attribute tokens are used to contain attribute key/value pairs whereever they may occur. More... | |
| class | CNewlineToken |
| Newline tokens contain, you guessed it, newlines. More... | |
| class | CInstructionToken |
| Whitespace tokens are used where whitespace can be detected as distinct from text. More... | |
| class | CDoctypeDeclToken |
| This token is generated by the HTML and Expat tokenizers when they see the doctype declaration ("<!DOCTYPE ... >"). More... | |
Enumerations | |
| enum | eHTMLTokenTypes { eToken_unknown = 0, eToken_start = 1, eToken_end, eToken_comment, eToken_entity, eToken_whitespace, eToken_newline, eToken_text, eToken_attribute, eToken_instruction, eToken_cdatasection, eToken_doctypeDecl, eToken_markupDecl, eToken_last } |
Functions | |
| nsresult | ConsumeQuotedString (PRUnichar aChar, nsString_external &aString, nsScanner &aScanner) |
| nsresult | ConsumeAttributeText (PRUnichar aChar, nsString_external &aString, nsScanner &aScanner) |
| const PRUnichar * | GetTagName (PRInt32 aTag) |
| enum eHTMLTokenTypes |
| nsresult ConsumeAttributeText | ( | PRUnichar | aChar, | |
| nsString_external & | aString, | |||
| nsScanner & | aScanner | |||
| ) |
| nsresult ConsumeQuotedString | ( | PRUnichar | aChar, | |
| nsString_external & | aString, | |||
| nsScanner & | aScanner | |||
| ) |
| const PRUnichar* GetTagName | ( | PRInt32 | aTag | ) |
1.7.1