v8  3.14.5(node0.10.28)
V8 is Google's open source JavaScript engine
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
ScriptResource Class Reference
Inheritance diagram for ScriptResource:
Collaboration diagram for ScriptResource:

Public Member Functions

 ScriptResource (const char *data, size_t length)
 
const char * data () const
 
size_t length () const
 
- Public Member Functions inherited from String::ExternalAsciiStringResource
virtual ~ExternalAsciiStringResource ()
 
- Public Member Functions inherited from String::ExternalStringResourceBase
virtual ~ExternalStringResourceBase ()
 

Additional Inherited Members

- Protected Member Functions inherited from String::ExternalAsciiStringResource
 ExternalAsciiStringResource ()
 
- Protected Member Functions inherited from String::ExternalStringResourceBase
 ExternalStringResourceBase ()
 
virtual void Dispose ()
 

Detailed Description

Definition at line 161 of file test-parsing.cc.

Constructor & Destructor Documentation

ScriptResource ( const char *  data,
size_t  length 
)
inline

Definition at line 163 of file test-parsing.cc.

Member Function Documentation

const char* data ( ) const
inlinevirtual

The string data from the underlying buffer.

Implements String::ExternalAsciiStringResource.

Definition at line 166 of file test-parsing.cc.

size_t length ( ) const
inlinevirtual

The number of ASCII characters in the string.

Implements String::ExternalAsciiStringResource.

Definition at line 167 of file test-parsing.cc.


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