v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
Loading...
Searching...
No Matches
v8::internal::ScannerStream Class Reference

#include <scanner-character-streams.h>

Collaboration diagram for v8::internal::ScannerStream:

Static Public Member Functions

static Utf16CharacterStreamFor (Isolate *isolate, Handle< String > data)
 
static Utf16CharacterStreamFor (Isolate *isolate, Handle< String > data, int start_pos, int end_pos)
 
static Utf16CharacterStreamFor (ScriptCompiler::ExternalSourceStream *source_stream, ScriptCompiler::StreamedSource::Encoding encoding)
 
static std::unique_ptr< Utf16CharacterStreamForTesting (const char *data)
 
static std::unique_ptr< Utf16CharacterStreamForTesting (const char *data, size_t length)
 
static std::unique_ptr< Utf16CharacterStreamForTesting (const uint16_t *data, size_t length)
 

Detailed Description

Definition at line 19 of file scanner-character-streams.h.

Member Function Documentation

◆ For() [1/3]

Utf16CharacterStream * v8::internal::ScannerStream::For ( Isolate * isolate,
Handle< String > data )
static

Definition at line 866 of file scanner-character-streams.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ For() [2/3]

Utf16CharacterStream * v8::internal::ScannerStream::For ( Isolate * isolate,
Handle< String > data,
int start_pos,
int end_pos )
static

Definition at line 871 of file scanner-character-streams.cc.

Here is the call graph for this function:

◆ For() [3/3]

Utf16CharacterStream * v8::internal::ScannerStream::For ( ScriptCompiler::ExternalSourceStream * source_stream,
ScriptCompiler::StreamedSource::Encoding encoding )
static

Definition at line 945 of file scanner-character-streams.cc.

Here is the call graph for this function:

◆ ForTesting() [1/3]

std::unique_ptr< Utf16CharacterStream > v8::internal::ScannerStream::ForTesting ( const char * data)
static

Definition at line 907 of file scanner-character-streams.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ ForTesting() [2/3]

std::unique_ptr< Utf16CharacterStream > v8::internal::ScannerStream::ForTesting ( const char * data,
size_t length )
static

Definition at line 912 of file scanner-character-streams.cc.

◆ ForTesting() [3/3]

std::unique_ptr< Utf16CharacterStream > v8::internal::ScannerStream::ForTesting ( const uint16_t * data,
size_t length )
static

Definition at line 929 of file scanner-character-streams.cc.


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