clang-tools 19.0.0git
Classes | Namespaces | Functions
Hover.h File Reference
#include "ParsedAST.h"
#include "Protocol.h"
#include "support/Markup.h"
#include "clang/Index/IndexSymbol.h"
#include <optional>
#include <string>
#include <vector>

Go to the source code of this file.


struct  clang::clangd::HoverInfo
 Contains detailed information about a Symbol. More...
struct  clang::clangd::HoverInfo::PrintedType
 Contains pretty-printed type and desugared type. More...
struct  clang::clangd::HoverInfo::Param
 Represents parameters of a function, a template or a macro. More...
struct  clang::clangd::HoverInfo::PassType


namespace  clang
 ===– Representation.cpp - ClangDoc Representation --------—*- C++ -*-===//
namespace  clang::clangd


bool clang::clangd::operator== (const HoverInfo::PrintedType &LHS, const HoverInfo::PrintedType &RHS)
bool clang::clangd::operator== (const HoverInfo::PassType &LHS, const HoverInfo::PassType &RHS)
void clang::clangd::parseDocumentation (llvm::StringRef Input, markup::Document &Output)
llvm::raw_ostream & clang::clangd::operator<< (llvm::raw_ostream &OS, const HoverInfo::PrintedType &T)
llvm::raw_ostream & clang::clangd::operator<< (llvm::raw_ostream &OS, const HoverInfo::Param &P)
bool clang::clangd::operator== (const HoverInfo::Param &LHS, const HoverInfo::Param &RHS)
std::optional< HoverInfo > clang::clangd::getHover (ParsedAST &AST, Position Pos, const format::FormatStyle &Style, const SymbolIndex *Index)
 Get the hover information when hovering at Pos.