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

#include <server-data.h>

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

Public Member Functions

 LanguageServerData ()=default
 

Static Public Member Functions

static V8_EXPORT_PRIVATE void AddDefinition (SourcePosition token, SourcePosition definition)
 
static V8_EXPORT_PRIVATE std::optional< SourcePositionFindDefinition (SourceId source, LineAndColumn pos)
 
static void SetGlobalContext (GlobalContext global_context)
 
static void SetTypeOracle (TypeOracle type_oracle)
 
static const SymbolsSymbolsForSourceId (SourceId id)
 
- Static Public Member Functions inherited from v8::base::ContextualVariable< Derived, VarType >
static VarType & Get ()
 
static bool HasScope ()
 

Private Member Functions

void PrepareAllDeclarableSymbols ()
 

Private Attributes

DefinitionsMap definitions_map_
 
SymbolsMap symbols_map_
 
std::unique_ptr< GlobalContextglobal_context_
 
std::unique_ptr< TypeOracletype_oracle_
 

Additional Inherited Members

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

Detailed Description

Definition at line 37 of file server-data.h.

Constructor & Destructor Documentation

◆ LanguageServerData()

v8::internal::torque::LanguageServerData::LanguageServerData ( )
default

Member Function Documentation

◆ AddDefinition()

void v8::internal::torque::LanguageServerData::AddDefinition ( SourcePosition token,
SourcePosition definition )
static

Definition at line 17 of file server-data.cc.

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

◆ FindDefinition()

std::optional< SourcePosition > v8::internal::torque::LanguageServerData::FindDefinition ( SourceId source,
LineAndColumn pos )
static

Definition at line 22 of file server-data.cc.

Here is the call graph for this function:

◆ PrepareAllDeclarableSymbols()

void v8::internal::torque::LanguageServerData::PrepareAllDeclarableSymbols ( )
private

Definition at line 37 of file server-data.cc.

◆ SetGlobalContext()

static void v8::internal::torque::LanguageServerData::SetGlobalContext ( GlobalContext global_context)
inlinestatic

Definition at line 47 of file server-data.h.

Here is the call graph for this function:

◆ SetTypeOracle()

static void v8::internal::torque::LanguageServerData::SetTypeOracle ( TypeOracle type_oracle)
inlinestatic

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

Here is the call graph for this function:

◆ SymbolsForSourceId()

static const Symbols & v8::internal::torque::LanguageServerData::SymbolsForSourceId ( SourceId id)
inlinestatic

Definition at line 57 of file server-data.h.

Here is the call graph for this function:

Member Data Documentation

◆ definitions_map_

DefinitionsMap v8::internal::torque::LanguageServerData::definitions_map_
private

Definition at line 65 of file server-data.h.

◆ global_context_

std::unique_ptr<GlobalContext> v8::internal::torque::LanguageServerData::global_context_
private

Definition at line 67 of file server-data.h.

◆ symbols_map_

SymbolsMap v8::internal::torque::LanguageServerData::symbols_map_
private

Definition at line 66 of file server-data.h.

◆ type_oracle_

std::unique_ptr<TypeOracle> v8::internal::torque::LanguageServerData::type_oracle_
private

Definition at line 68 of file server-data.h.


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