clang-tools  14.0.0git
Static Public Member Functions | Public Attributes | List of all members
clang::clangd::SpelledWord Struct Reference

#include <SourceCode.h>

Collaboration diagram for clang::clangd::SpelledWord:
Collaboration graph
[legend]

Static Public Member Functions

static llvm::Optional< SpelledWordtouching (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
 

Detailed Description

Definition at line 229 of file SourceCode.h.

Member Function Documentation

◆ touching()

llvm::Optional< SpelledWord > clang::clangd::SpelledWord::touching ( SourceLocation  SpelledLoc,
const syntax::TokenBuffer &  TB,
const LangOptions &  LangOpts 
)
static

Definition at line 919 of file SourceCode.cpp.

Member Data Documentation

◆ ExpandedToken

const syntax::Token* clang::clangd::SpelledWord::ExpandedToken = nullptr

Definition at line 247 of file SourceCode.h.

◆ LikelyIdentifier

bool clang::clangd::SpelledWord::LikelyIdentifier = false

Definition at line 239 of file SourceCode.h.

◆ Location

SourceLocation clang::clangd::SpelledWord::Location

Definition at line 231 of file SourceCode.h.

◆ PartOfSpelledToken

const syntax::Token* clang::clangd::SpelledWord::PartOfSpelledToken = nullptr

Definition at line 242 of file SourceCode.h.

◆ SpelledToken

const syntax::Token* clang::clangd::SpelledWord::SpelledToken = nullptr

Definition at line 244 of file SourceCode.h.

◆ Text

llvm::StringRef clang::clangd::SpelledWord::Text

Definition at line 234 of file SourceCode.h.


The documentation for this struct was generated from the following files: