clang-tools  14.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 dependency graph for Hover.h:
This graph shows which files directly or indirectly include this file:

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


 ===– Representation.cpp - ClangDoc Representation --------—*- C++ -*-===//


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)
llvm::Optional< HoverInfo > clang::clangd::getHover (ParsedAST &AST, Position Pos, format::FormatStyle Style, const SymbolIndex *Index)
 Get the hover information when hovering at Pos. More...