This declares comment tokens. More...
#include <nsHTMLTokens.h>
Inheritance diagram for CCommentToken:
Collaboration diagram for CCommentToken:Public Member Functions | |
| CCommentToken () | |
| CCommentToken (const nsAString &aString) | |
| virtual nsresult | Consume (PRUnichar aChar, nsScanner &aScanner, PRInt32 aMode) |
| Causes token to consume data from given scanner. | |
| virtual PRInt32 | GetTokenType (void) |
| Getter which retrieves type of token gess5/11/98. | |
| virtual const nsSubstring & | GetStringValue (void) |
| Retrieve string value of the token gess5/11/98. | |
| virtual void | AppendSourceTo (nsAString &anOutputString) |
| harishd 03/23/00 | |
| nsresult | ConsumeStrictComment (nsScanner &aScanner) |
| nsresult | ConsumeQuirksComment (nsScanner &aScanner) |
Protected Member Functions | |
| virtual size_t | SizeOf () const |
| Returns the size of the token object. | |
Protected Attributes | |
| nsScannerSubstring | mComment |
| nsScannerSubstring | mCommentDecl |
This declares comment tokens.
Comments are usually thought of as tokens, but we treat them that way here so that the parser can have a consistent view of all tokens.
gess 3/25/98
| CCommentToken::CCommentToken | ( | ) |
| CCommentToken::CCommentToken | ( | const nsAString & | aString | ) |
| virtual void CCommentToken::AppendSourceTo | ( | nsAString & | anOutputString | ) | [virtual] |
| nsresult CCommentToken::ConsumeQuirksComment | ( | nsScanner & | aScanner | ) |
| nsresult CCommentToken::ConsumeStrictComment | ( | nsScanner & | aScanner | ) |
| virtual const nsSubstring& CCommentToken::GetStringValue | ( | void | ) | [virtual] |
Retrieve string value of the token gess5/11/98.
Implements CToken.
| virtual PRInt32 CCommentToken::GetTokenType | ( | void | ) | [virtual] |
Getter which retrieves type of token gess5/11/98.
Reimplemented from CToken.
| virtual size_t CCommentToken::SizeOf | ( | ) | const [inline, protected, virtual] |
Returns the size of the token object.
Implements CToken.
nsScannerSubstring CCommentToken::mComment [protected] |
nsScannerSubstring CCommentToken::mCommentDecl [protected] |
1.7.1