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

Leaf node representing an HTML directive. More...

#include "html_node.h"

Inheritance diagram for net_instaweb::HtmlDirectiveNode:
net_instaweb::HtmlLeafNode net_instaweb::HtmlNode

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
 

Additional Inherited Members

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

Detailed Description

Leaf node representing an HTML directive.

Member Function Documentation

virtual void net_instaweb::HtmlDirectiveNode::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: