|
clang-tools 22.0.0git
|
#include <SourceCode.h>
Static Public Member Functions | |
| static std::optional< SpelledWord > | touching (SourceLocation SpelledLoc, const syntax::TokenBuffer &TB, const LangOptions &LangOpts) |
Public Attributes | |
| SourceLocation | Location |
| llvm::StringRef | Text |
| bool | LikelyIdentifier = false |
| const syntax::Token * | PartOfSpelledToken = nullptr |
| const syntax::Token * | SpelledToken = nullptr |
| const syntax::Token * | ExpandedToken = nullptr |
Definition at line 238 of file SourceCode.h.
|
static |
Definition at line 949 of file SourceCode.cpp.
References ExpandedToken, clang::clangd::File, clang::clangd::isLikelyIdentifier(), LikelyIdentifier, Location, PartOfSpelledToken, SpelledToken, and Text.
Referenced by clang::clangd::locateSymbolAt().
| const syntax::Token* clang::clangd::SpelledWord::ExpandedToken = nullptr |
Definition at line 256 of file SourceCode.h.
Referenced by clang::clangd::findNearbyIdentifier(), clang::clangd::locateSymbolTextually(), and touching().
| bool clang::clangd::SpelledWord::LikelyIdentifier = false |
Definition at line 248 of file SourceCode.h.
Referenced by clang::clangd::locateSymbolTextually(), and touching().
| SourceLocation clang::clangd::SpelledWord::Location |
Definition at line 240 of file SourceCode.h.
Referenced by clang::clangd::findNearbyIdentifier(), clang::clangd::locateSymbolTextually(), and touching().
| const syntax::Token* clang::clangd::SpelledWord::PartOfSpelledToken = nullptr |
Definition at line 251 of file SourceCode.h.
Referenced by clang::clangd::findNearbyIdentifier(), clang::clangd::locateSymbolTextually(), and touching().
| const syntax::Token* clang::clangd::SpelledWord::SpelledToken = nullptr |
Definition at line 253 of file SourceCode.h.
Referenced by touching().
| llvm::StringRef clang::clangd::SpelledWord::Text |
Definition at line 243 of file SourceCode.h.
Referenced by clang::clangd::findNearbyIdentifier(), clang::clangd::locateSymbolTextually(), and touching().