[Language Server]: Add basic document hover support.

This commit is contained in:
Christian Parpart
2022-10-26 13:53:29 +02:00
parent 1d85eb5ccf
commit 9e7fe985bf
7 changed files with 273 additions and 12 deletions
+1
View File
@@ -77,6 +77,7 @@ public:
FileRepository& fileRepository() noexcept { return m_fileRepository; }
Transport& client() noexcept { return m_client; }
std::tuple<frontend::ASTNode const*, int> astNodeAndOffsetAtSourceLocation(std::string const& _sourceUnitName, langutil::LineColumn const& _filePos);
frontend::ASTNode const* astNodeAtSourceLocation(std::string const& _sourceUnitName, langutil::LineColumn const& _filePos);
frontend::CompilerStack const& compilerStack() const noexcept { return m_compilerStack; }