clang-tools 10.0.0

Classes | Namespaces
Token.h File Reference

Token objects represent a characteristic of a symbol, which can be used to perform efficient search. More...

`#include "index/Index.h"`
`#include "llvm/ADT/DenseMap.h"`
`#include "llvm/Support/raw_ostream.h"`
`#include <string>`
`#include <vector>`
Include dependency graph for Token.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

## Classes
class | clang::clangd::dex::Token
| A Token represents an attribute of a symbol, such as a particular trigram present in the name (used for fuzzy search). More...
struct | llvm::DenseMapInfo< clang::clangd::dex::Token >

## Namespaces
| clang
| ===– Representation.cpp - ClangDoc Representation --------—*- C++ -*-===//
| clang::clangd
| clang::clangd::dex
| llvm
| Some operations such as code completion produce a set of candidates.

## Detailed Description

Token objects represent a characteristic of a symbol, which can be used to perform efficient search.

Tokens are keys for inverted index which are mapped to the corresponding posting lists.

The symbol std::cout might have the tokens:

- Scope "std::"
- Trigram "cou"
- Trigram "out"
- Type "std::ostream"

Definition in file Token.h.