Page Speed Optimization Libraries
1.2.24.1
|
Classes | |
struct | Data |
Public Member Functions | |
virtual bool | live () const |
virtual void | MarkAsDead (const HtmlEventListIterator &end) |
const GoogleString & | contents () const |
virtual HtmlEventListIterator | begin () const |
Return an iterator pointing to the first event associated with this node. | |
virtual HtmlEventListIterator | end () const |
Return an iterator pointing to the last event associated with this node. | |
void | set_iter (const HtmlEventListIterator &iter) |
void | FreeData () |
Protected Member Functions | |
HtmlLeafNode (HtmlElement *parent, const HtmlEventListIterator &iter, const StringPiece &contents) | |
GoogleString * | mutable_contents () |
virtual void net_instaweb::HtmlLeafNode::MarkAsDead | ( | const HtmlEventListIterator & | end | ) | [virtual] |
Marks a node as dead. The queue's end iterator should be passed in, to remove references to stale iterators, and to force IsRewritable to return false.
Implements net_instaweb::HtmlNode.
GoogleString* net_instaweb::HtmlLeafNode::mutable_contents | ( | ) | [inline, protected] |
Write-access to the contents is protected by default, and made accessible by subclasses that need to expose this method.