v8  3.25.30(node0.11.13)
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 169 of file test-parsing.cc.

Constructor & Destructor Documentation

ScriptResource ( const char *  data,
size_t  length 
)
inline

Definition at line 171 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 174 of file test-parsing.cc.

size_t length ( ) const
inlinevirtual

The number of ASCII characters in the string.

Implements String::ExternalAsciiStringResource.

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


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