Page Speed Optimization Libraries  1.13.35.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Classes | Public Member Functions | Protected Member Functions | List of all members
net_instaweb::HtmlLeafNode Class Reference
Inheritance diagram for net_instaweb::HtmlLeafNode:
net_instaweb::HtmlNode net_instaweb::HtmlCdataNode net_instaweb::HtmlCharactersNode net_instaweb::HtmlCommentNode net_instaweb::HtmlDirectiveNode net_instaweb::HtmlIEDirectiveNode

Public Member Functions

virtual bool live () const
 
virtual void MarkAsDead (const HtmlEventListIterator &end)
 
virtual GoogleString ToString () const
 
const GoogleStringcontents () 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 ()
 
- Public Member Functions inherited from net_instaweb::HtmlNode
HtmlElementparent () const
 
void * operator new (size_t size, Arena< HtmlNode > *arena)
 
void operator delete (void *ptr, Arena< HtmlNode > *arena)
 

Protected Member Functions

 HtmlLeafNode (HtmlElement *parent, const HtmlEventListIterator &iter, const StringPiece &contents)
 
GoogleStringmutable_contents ()
 
- Protected Member Functions inherited from net_instaweb::HtmlNode
 HtmlNode (HtmlElement *parent)
 
virtual void SynthesizeEvents (const HtmlEventListIterator &iter, HtmlEventList *queue)=0
 
void operator delete (void *ptr)
 Version that affects visibility of the destructor.
 

Member Function Documentation

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 ( )
inlineprotected

Write-access to the contents is protected by default, and made accessible by subclasses that need to expose this method.


The documentation for this class was generated from the following file: