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

#include <kythe-data.h>

Inheritance diagram for v8::internal::torque::KytheData:
Collaboration diagram for v8::internal::torque::KytheData:

Public Member Functions

 KytheData ()=default
 

Static Public Member Functions

static void SetConsumer (KytheConsumer *consumer)
 
static V8_EXPORT_PRIVATE kythe_entity_t AddConstantDefinition (const Value *constant)
 
static V8_EXPORT_PRIVATE void AddConstantUse (SourcePosition use_position, const Value *constant)
 
static V8_EXPORT_PRIVATE kythe_entity_t AddFunctionDefinition (Callable *callable)
 
static V8_EXPORT_PRIVATE void AddCall (Callable *caller, SourcePosition call_position, Callable *callee)
 
static V8_EXPORT_PRIVATE kythe_entity_t AddClassFieldDefinition (const Field *field)
 
static V8_EXPORT_PRIVATE void AddClassFieldUse (SourcePosition use_position, const Field *field)
 
static V8_EXPORT_PRIVATE kythe_entity_t AddBindingDefinition (Binding< LocalValue > *binding)
 
static V8_EXPORT_PRIVATE kythe_entity_t AddBindingDefinition (Binding< LocalLabel > *binding)
 
static V8_EXPORT_PRIVATE void AddBindingUse (SourcePosition use_position, Binding< LocalValue > *binding)
 
static V8_EXPORT_PRIVATE void AddBindingUse (SourcePosition use_position, Binding< LocalLabel > *binding)
 
static V8_EXPORT_PRIVATE kythe_entity_t AddTypeDefinition (const Declarable *type_decl)
 
static V8_EXPORT_PRIVATE void AddTypeUse (SourcePosition use_position, const Declarable *type_decl)
 
- Static Public Member Functions inherited from v8::base::ContextualVariable< Derived, VarType >
static VarType & Get ()
 
static bool HasScope ()
 

Static Private Member Functions

static kythe_entity_t AddBindingDefinitionImpl (uint64_t binding_index, const std::string &name, const SourcePosition &ident_pos)
 

Private Attributes

KytheConsumerconsumer_
 
std::unordered_map< const Value *, kythe_entity_tconstants_
 
std::unordered_map< Callable *, kythe_entity_tcallables_
 
std::unordered_map< const Field *, std::set< SourcePosition > > field_uses_
 
std::unordered_map< uint64_t, kythe_entity_tlocal_bindings_
 
std::unordered_map< const Declarable *, kythe_entity_ttypes_
 
std::unordered_map< const Field *, kythe_entity_tclass_fields_
 

Additional Inherited Members

- Public Types inherited from v8::base::ContextualVariable< Derived, VarType >
using VarT = VarType
 

Detailed Description

Definition at line 49 of file kythe-data.h.

Constructor & Destructor Documentation

◆ KytheData()

v8::internal::torque::KytheData::KytheData ( )
default

Member Function Documentation

◆ AddBindingDefinition() [1/2]

kythe_entity_t v8::internal::torque::KytheData::AddBindingDefinition ( Binding< LocalLabel > * binding)
static

Definition at line 117 of file kythe-data.cc.

Here is the call graph for this function:

◆ AddBindingDefinition() [2/2]

kythe_entity_t v8::internal::torque::KytheData::AddBindingDefinition ( Binding< LocalValue > * binding)
static

Definition at line 110 of file kythe-data.cc.

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

◆ AddBindingDefinitionImpl()

kythe_entity_t v8::internal::torque::KytheData::AddBindingDefinitionImpl ( uint64_t binding_index,
const std::string & name,
const SourcePosition & ident_pos )
staticprivate

Definition at line 124 of file kythe-data.cc.

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

◆ AddBindingUse() [1/2]

void v8::internal::torque::KytheData::AddBindingUse ( SourcePosition use_position,
Binding< LocalLabel > * binding )
static

Definition at line 148 of file kythe-data.cc.

Here is the call graph for this function:

◆ AddBindingUse() [2/2]

void v8::internal::torque::KytheData::AddBindingUse ( SourcePosition use_position,
Binding< LocalValue > * binding )
static

Definition at line 138 of file kythe-data.cc.

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

◆ AddCall()

void v8::internal::torque::KytheData::AddCall ( Callable * caller,
SourcePosition call_position,
Callable * callee )
static

Definition at line 68 of file kythe-data.cc.

Here is the call graph for this function:

◆ AddClassFieldDefinition()

kythe_entity_t v8::internal::torque::KytheData::AddClassFieldDefinition ( const Field * field)
static

Definition at line 85 of file kythe-data.cc.

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

◆ AddClassFieldUse()

void v8::internal::torque::KytheData::AddClassFieldUse ( SourcePosition use_position,
const Field * field )
static

Definition at line 99 of file kythe-data.cc.

Here is the call graph for this function:

◆ AddConstantDefinition()

kythe_entity_t v8::internal::torque::KytheData::AddConstantDefinition ( const Value * constant)
static

Definition at line 28 of file kythe-data.cc.

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

◆ AddConstantUse()

void v8::internal::torque::KytheData::AddConstantUse ( SourcePosition use_position,
const Value * constant )
static

Definition at line 43 of file kythe-data.cc.

Here is the call graph for this function:

◆ AddFunctionDefinition()

kythe_entity_t v8::internal::torque::KytheData::AddFunctionDefinition ( Callable * callable)
static

Definition at line 53 of file kythe-data.cc.

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

◆ AddTypeDefinition()

kythe_entity_t v8::internal::torque::KytheData::AddTypeDefinition ( const Declarable * type_decl)
static

Definition at line 159 of file kythe-data.cc.

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

◆ AddTypeUse()

void v8::internal::torque::KytheData::AddTypeUse ( SourcePosition use_position,
const Declarable * type_decl )
static

Definition at line 173 of file kythe-data.cc.

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

◆ SetConsumer()

static void v8::internal::torque::KytheData::SetConsumer ( KytheConsumer * consumer)
inlinestatic

Definition at line 53 of file kythe-data.h.

Here is the call graph for this function:

Member Data Documentation

◆ callables_

std::unordered_map<Callable*, kythe_entity_t> v8::internal::torque::KytheData::callables_
private

Definition at line 96 of file kythe-data.h.

◆ class_fields_

std::unordered_map<const Field*, kythe_entity_t> v8::internal::torque::KytheData::class_fields_
private

Definition at line 101 of file kythe-data.h.

◆ constants_

std::unordered_map<const Value*, kythe_entity_t> v8::internal::torque::KytheData::constants_
private

Definition at line 95 of file kythe-data.h.

◆ consumer_

KytheConsumer* v8::internal::torque::KytheData::consumer_
private

Definition at line 94 of file kythe-data.h.

◆ field_uses_

std::unordered_map<const Field*, std::set<SourcePosition> > v8::internal::torque::KytheData::field_uses_
private

Definition at line 98 of file kythe-data.h.

◆ local_bindings_

std::unordered_map<uint64_t, kythe_entity_t> v8::internal::torque::KytheData::local_bindings_
private

Definition at line 99 of file kythe-data.h.

◆ types_

std::unordered_map<const Declarable*, kythe_entity_t> v8::internal::torque::KytheData::types_
private

Definition at line 100 of file kythe-data.h.


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