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

Edit a substring in a script element. More...

#include "google_analytics_filter.h"

Public Types

enum  Type { kGaJsScriptSrcLoad = 0, kGaJsDocWriteLoad, kGaJsInit }

Public Member Functions

 ScriptEditor (HtmlElement *script_element_, HtmlCharactersNode *characters_node, GoogleString::size_type pos, GoogleString::size_type len, Type editor_type)
HtmlElementGetScriptElement () const
HtmlCharactersNodeGetScriptCharactersNode () const
Type GetType () const
void NewContents (const StringPiece &replacement, GoogleString *contents) const

Detailed Description

Edit a substring in a script element.

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