|
clang-tools 22.0.0git
|
#include <Selection.h>
Classes | |
| struct | Node |
Public Types | |
| enum | Selection : unsigned char { Unselected , Partial , Complete } |
Public Member Functions | |
| SelectionTree (const SelectionTree &)=delete | |
| SelectionTree & | operator= (const SelectionTree &)=delete |
| SelectionTree (SelectionTree &&)=default | |
| SelectionTree & | operator= (SelectionTree &&)=default |
| const Node * | commonAncestor () const |
| const Node & | root () const |
Static Public Member Functions | |
| static bool | createEach (ASTContext &AST, const syntax::TokenBuffer &Tokens, unsigned Begin, unsigned End, llvm::function_ref< bool(SelectionTree)> Func) |
| static SelectionTree | createRight (ASTContext &AST, const syntax::TokenBuffer &Tokens, unsigned Begin, unsigned End) |
Friends | |
| llvm::raw_ostream & | operator<< (llvm::raw_ostream &OS, const SelectionTree &T) |
Definition at line 77 of file Selection.h.
| enum clang::clangd::SelectionTree::Selection : unsigned char |
| Enumerator | |
|---|---|
| Unselected | |
| Partial | |
| Complete | |
Definition at line 107 of file Selection.h.
|
delete |
References SelectionTree().
Referenced by createEach(), createRight(), operator<<, operator=(), operator=(), SelectionTree(), and SelectionTree().
|
default |
References SelectionTree().
| const Node * clang::clangd::SelectionTree::commonAncestor | ( | ) | const |
Definition at line 1112 of file Selection.cpp.
References clang::clangd::SelectionTree::Node::Children, and clang::clangd::SelectionTree::Node::Selected.
Referenced by clang::clangd::getHover(), and clang::clangd::getSemanticRanges().
|
static |
Definition at line 1070 of file Selection.cpp.
References clang::clangd::AST, clang::clangd::pointBounds(), and SelectionTree().
Referenced by createRight(), clang::clangd::findDocumentHighlights(), clang::clangd::findRecordTypeAt(), clang::clangd::findType(), and clang::clangd::ClangdServer::getAST().
|
static |
Definition at line 1082 of file Selection.cpp.
References clang::clangd::AST, createEach(), and SelectionTree().
Referenced by clang::clangd::getHover(), and clang::clangd::getSemanticRanges().
|
delete |
References SelectionTree().
|
default |
References SelectionTree().
|
inline |
Definition at line 149 of file Selection.h.
|
friend |
Definition at line 162 of file Selection.h.
References SelectionTree().