clang-tools  10.0.0svn
Namespaces | Functions
SemanticHighlighting.cpp File Reference
#include "SemanticHighlighting.h"
#include "Logger.h"
#include "ParsedAST.h"
#include "Protocol.h"
#include "SourceCode.h"
#include "clang/AST/ASTContext.h"
#include "clang/AST/Decl.h"
#include "clang/AST/DeclCXX.h"
#include "clang/AST/DeclarationName.h"
#include "clang/AST/RecursiveASTVisitor.h"
#include "clang/AST/Type.h"
#include "clang/AST/TypeLoc.h"
#include "clang/Basic/SourceLocation.h"
#include <algorithm>
Include dependency graph for SemanticHighlighting.cpp:

Go to the source code of this file.

Namespaces

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

Functions

llvm::raw_ostream & clang::clangd::operator<< (llvm::raw_ostream &OS, HighlightingKind K)
 
std::vector< LineHighlightings > clang::clangd::diffHighlightings (ArrayRef< HighlightingToken > New, ArrayRef< HighlightingToken > Old)
 Return a line-by-line diff between two highlightings. More...
 
bool clang::clangd::operator== (const HighlightingToken &L, const HighlightingToken &R)
 
bool clang::clangd::operator< (const HighlightingToken &L, const HighlightingToken &R)
 
bool clang::clangd::operator== (const LineHighlightings &L, const LineHighlightings &R)
 
std::vector< HighlightingToken > clang::clangd::getSemanticHighlightings (ParsedAST &AST)
 
std::vector< SemanticHighlightingInformation > clang::clangd::toSemanticHighlightingInformation (llvm::ArrayRef< LineHighlightings > Tokens)
 Convert to LSP's semantic highlighting information. More...
 
llvm::StringRef clang::clangd::toTextMateScope (HighlightingKind Kind)
 Converts a HighlightingKind to a corresponding TextMate scope (https://manual.macromates.com/en/language_grammars). More...