Page Speed Optimization Libraries  1.13.35.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Protected Member Functions | Friends | List of all members
net_instaweb::HtmlCharactersNode Class Reference

Leaf node representing raw characters in HTML. More...

#include "html_node.h"

Inheritance diagram for net_instaweb::HtmlCharactersNode:
net_instaweb::HtmlLeafNode net_instaweb::HtmlNode

Public Member Functions

void Append (const StringPiece &str)
 
- Public Member Functions inherited from net_instaweb::HtmlLeafNode
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

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

Friends

class HtmlParse
 

Detailed Description

Leaf node representing raw characters in HTML.

Member Function Documentation

virtual void net_instaweb::HtmlCharactersNode::SynthesizeEvents ( const HtmlEventListIterator &  iter,
HtmlEventList *  queue 
)
protectedvirtual

Create new event object(s) representing this node, and insert them into the queue just before the given iterator; also, update this node object as necessary so that begin() and end() will return iterators pointing to the new event(s). The line number for each event should probably be -1.

Implements net_instaweb::HtmlNode.


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