clang-tools 18.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 234 of file SourceCode.h.
|
static |
Definition at line 931 of file SourceCode.cpp.
References Code, E, clang::clangd::isLikelyIdentifier(), and Offset.
Referenced by clang::clangd::locateSymbolAt().
const syntax::Token* clang::clangd::SpelledWord::ExpandedToken = nullptr |
Definition at line 252 of file SourceCode.h.
bool clang::clangd::SpelledWord::LikelyIdentifier = false |
Definition at line 244 of file SourceCode.h.
SourceLocation clang::clangd::SpelledWord::Location |
Definition at line 236 of file SourceCode.h.
const syntax::Token* clang::clangd::SpelledWord::PartOfSpelledToken = nullptr |
Definition at line 247 of file SourceCode.h.
const syntax::Token* clang::clangd::SpelledWord::SpelledToken = nullptr |
Definition at line 249 of file SourceCode.h.
llvm::StringRef clang::clangd::SpelledWord::Text |
Definition at line 239 of file SourceCode.h.