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

#include <json-parser.h>

Collaboration diagram for v8::internal::JsonParseInternalizer:

Static Public Member Functions

static MaybeHandle< ObjectInternalize (Isolate *isolate, DirectHandle< Object > result, Handle< Object > reviver, Handle< String > source, MaybeHandle< Object > val_node)
 

Private Types

enum  WithOrWithoutSource { kWithoutSource , kWithSource }
 

Private Member Functions

 JsonParseInternalizer (Isolate *isolate, Handle< JSReceiver > reviver, Handle< String > source)
 
template<WithOrWithoutSource with_source>
MaybeHandle< ObjectInternalizeJsonProperty (DirectHandle< JSReceiver > holder, DirectHandle< String > key, Handle< Object > val_node, DirectHandle< Object > snapshot)
 
template<WithOrWithoutSource with_source>
bool RecurseAndApply (Handle< JSReceiver > holder, Handle< String > name, Handle< Object > val_node, Handle< Object > snapshot)
 

Private Attributes

Isolateisolate_
 
Handle< JSReceiverreviver_
 
Handle< Stringsource_
 

Detailed Description

Definition at line 106 of file json-parser.h.

Member Enumeration Documentation

◆ WithOrWithoutSource

Enumerator
kWithoutSource 
kWithSource 

Definition at line 119 of file json-parser.h.

Constructor & Destructor Documentation

◆ JsonParseInternalizer()

v8::internal::JsonParseInternalizer::JsonParseInternalizer ( Isolate * isolate,
Handle< JSReceiver > reviver,
Handle< String > source )
inlineprivate

Definition at line 115 of file json-parser.h.

Member Function Documentation

◆ Internalize()

MaybeHandle< Object > v8::internal::JsonParseInternalizer::Internalize ( Isolate * isolate,
DirectHandle< Object > result,
Handle< Object > reviver,
Handle< String > source,
MaybeHandle< Object > val_node )
static

Definition at line 134 of file json-parser.cc.

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

◆ InternalizeJsonProperty()

MaybeHandle< Object > v8::internal::JsonParseInternalizer::InternalizeJsonProperty ( DirectHandle< JSReceiver > holder,
DirectHandle< String > key,
Handle< Object > val_node,
DirectHandle< Object > snapshot )
private

Definition at line 149 of file json-parser.cc.

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

◆ RecurseAndApply()

bool v8::internal::JsonParseInternalizer::RecurseAndApply ( Handle< JSReceiver > holder,
Handle< String > name,
Handle< Object > val_node,
Handle< Object > snapshot )
private

Definition at line 274 of file json-parser.cc.

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

Member Data Documentation

◆ isolate_

Isolate* v8::internal::JsonParseInternalizer::isolate_
private

Definition at line 131 of file json-parser.h.

◆ reviver_

Handle<JSReceiver> v8::internal::JsonParseInternalizer::reviver_
private

Definition at line 132 of file json-parser.h.

◆ source_

Handle<String> v8::internal::JsonParseInternalizer::source_
private

Definition at line 133 of file json-parser.h.


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