载入中...
搜索中...
未找到
eve::dev::LanguageServer::Impl结构体 参考

Public 成员函数

 Impl (std::string root)
 
std::string canonicalUri (const std::string &uri) const
 
std::string identity (std::string_view uri) const
 
const std::string * sourceFor (std::string_view uri) const
 
void update (const std::string &uri, std::string source)
 
void close (const std::string &uri)
 
std::vector< script::ScriptDiagnostic > diagnostics (std::string_view uri) const
 
std::vector< script::ScriptCompletion > complete (std::string_view uri, lsp::Position position) const
 
std::optional< script::ScriptHover > hover (std::string_view uri, lsp::Position position) const
 
std::optional< LanguageSignatureHelp > signatureHelp (std::string_view uri, lsp::Position position) const
 
std::filesystem::path pathForCanonical (std::string_view canonical) const
 
void indexProject ()
 

Public 属性

std::string root_
 
eve::Runtime runtime_
 
lsp::WorkspaceIndex index_
 
std::unordered_map< std::string, std::string > documents_
 
std::unordered_map< std::string, std::string > canonical_
 
std::vector< std::string > knownModules_
 
std::vector< std::string > activeModules_
 
std::unordered_map< std::string, std::string > slotClass_
 
bool shutdown_ = false
 

详细描述

在文件 LanguageServer.cpp 第 608 行定义.

构造及析构函数说明

◆ Impl()

eve::dev::LanguageServer::Impl::Impl ( std::string  root)
inlineexplicit

成员函数说明

◆ canonicalUri()

std::string eve::dev::LanguageServer::Impl::canonicalUri ( const std::string &  uri) const
inline

在文件 LanguageServer.cpp 第 629 行定义.

引用了 error, path, relative, root_ , 以及 uri.

被这些函数引用 identity() , 以及 update().

◆ close()

void eve::dev::LanguageServer::Impl::close ( const std::string &  uri)
inline

◆ complete()

◆ diagnostics()

std::vector< script::ScriptDiagnostic > eve::dev::LanguageServer::Impl::diagnostics ( std::string_view  uri) const
inline

◆ hover()

std::optional< script::ScriptHover > eve::dev::LanguageServer::Impl::hover ( std::string_view  uri,
lsp::Position  position 
) const
inline

◆ identity()

std::string eve::dev::LanguageServer::Impl::identity ( std::string_view  uri) const
inline

在文件 LanguageServer.cpp 第 640 行定义.

引用了 canonical_, canonicalUri(), found, owned , 以及 uri.

被这些函数引用 complete(), diagnostics() , 以及 hover().

◆ indexProject()

void eve::dev::LanguageServer::Impl::indexProject ( )
inline

◆ pathForCanonical()

std::filesystem::path eve::dev::LanguageServer::Impl::pathForCanonical ( std::string_view  canonical) const
inline

在文件 LanguageServer.cpp 第 832 行定义.

引用了 root_.

被这些函数引用 close().

◆ signatureHelp()

◆ sourceFor()

const std::string * eve::dev::LanguageServer::Impl::sourceFor ( std::string_view  uri) const
inline

在文件 LanguageServer.cpp 第 646 行定义.

引用了 documents_, found , 以及 uri.

被这些函数引用 complete(), hover() , 以及 signatureHelp().

◆ update()

void eve::dev::LanguageServer::Impl::update ( const std::string &  uri,
std::string  source 
)
inline

类成员变量说明

◆ activeModules_

std::vector<std::string> eve::dev::LanguageServer::Impl::activeModules_

在文件 LanguageServer.cpp 第 865 行定义.

被这些函数引用 complete(), diagnostics() , 以及 Impl().

◆ canonical_

std::unordered_map<std::string, std::string> eve::dev::LanguageServer::Impl::canonical_

在文件 LanguageServer.cpp 第 863 行定义.

被这些函数引用 close(), identity() , 以及 update().

◆ documents_

std::unordered_map<std::string, std::string> eve::dev::LanguageServer::Impl::documents_

在文件 LanguageServer.cpp 第 862 行定义.

被这些函数引用 close(), diagnostics(), sourceFor() , 以及 update().

◆ index_

lsp::WorkspaceIndex eve::dev::LanguageServer::Impl::index_

在文件 LanguageServer.cpp 第 861 行定义.

被这些函数引用 close(), hover(), indexProject() , 以及 update().

◆ knownModules_

std::vector<std::string> eve::dev::LanguageServer::Impl::knownModules_

在文件 LanguageServer.cpp 第 864 行定义.

被这些函数引用 diagnostics() , 以及 Impl().

◆ root_

std::string eve::dev::LanguageServer::Impl::root_

在文件 LanguageServer.cpp 第 859 行定义.

被这些函数引用 canonicalUri(), Impl(), indexProject() , 以及 pathForCanonical().

◆ runtime_

eve::Runtime eve::dev::LanguageServer::Impl::runtime_

在文件 LanguageServer.cpp 第 860 行定义.

被这些函数引用 complete(), diagnostics(), hover(), Impl(), signatureHelp() , 以及 update().

◆ shutdown_

bool eve::dev::LanguageServer::Impl::shutdown_ = false

在文件 LanguageServer.cpp 第 867 行定义.

◆ slotClass_

std::unordered_map<std::string, std::string> eve::dev::LanguageServer::Impl::slotClass_

在文件 LanguageServer.cpp 第 866 行定义.

被这些函数引用 complete(), hover() , 以及 Impl().


该结构体的文档由以下文件生成: