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

#include <message.h>

Inheritance diagram for v8::internal::torque::ls::BaseJsonAccessor:
Collaboration diagram for v8::internal::torque::ls::BaseJsonAccessor:

Public Member Functions

template<class T >
T GetObject (const std::string &property)
 
bool HasProperty (const std::string &property) const
 
void SetNull (const std::string &property)
 
bool IsNull (const std::string &property) const
 

Protected Member Functions

virtual const JsonObjectobject () const =0
 
virtual JsonObjectobject ()=0
 
JsonObjectGetObjectProperty (const std::string &property)
 
JsonArrayGetArrayProperty (const std::string &property)
 
JsonObjectAddObjectElementToArrayProperty (const std::string &property)
 

Detailed Description

Definition at line 21 of file message.h.

Member Function Documentation

◆ AddObjectElementToArrayProperty()

JsonObject & v8::internal::torque::ls::BaseJsonAccessor::AddObjectElementToArrayProperty ( const std::string & property)
inlineprotected

Definition at line 59 of file message.h.

Here is the call graph for this function:

◆ GetArrayProperty()

JsonArray & v8::internal::torque::ls::BaseJsonAccessor::GetArrayProperty ( const std::string & property)
inlineprotected

Definition at line 52 of file message.h.

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

◆ GetObject()

template<class T >
T v8::internal::torque::ls::BaseJsonAccessor::GetObject ( const std::string & property)
inline

Definition at line 24 of file message.h.

Here is the call graph for this function:

◆ GetObjectProperty()

JsonObject & v8::internal::torque::ls::BaseJsonAccessor::GetObjectProperty ( const std::string & property)
inlineprotected

Definition at line 45 of file message.h.

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

◆ HasProperty()

bool v8::internal::torque::ls::BaseJsonAccessor::HasProperty ( const std::string & property) const
inline

Definition at line 28 of file message.h.

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

◆ IsNull()

bool v8::internal::torque::ls::BaseJsonAccessor::IsNull ( const std::string & property) const
inline

Definition at line 36 of file message.h.

Here is the call graph for this function:

◆ object() [1/2]

virtual const JsonObject & v8::internal::torque::ls::BaseJsonAccessor::object ( ) const
protectedpure virtual

Implemented in v8::internal::torque::ls::Message, and v8::internal::torque::ls::NestedJsonAccessor.

Here is the caller graph for this function:

◆ object() [2/2]

virtual JsonObject & v8::internal::torque::ls::BaseJsonAccessor::object ( )
protectedpure virtual

◆ SetNull()

void v8::internal::torque::ls::BaseJsonAccessor::SetNull ( const std::string & property)
inline

Definition at line 32 of file message.h.

Here is the call graph for this function:

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