clang-tools 20.0.0git
Public Member Functions | Public Attributes | List of all members
clang::clangd::SelectionTree::Node Struct Reference

#include <Selection.h>

Public Member Functions

const DeclContext & getDeclContext () const
 
std::string kind () const
 
const NodeignoreImplicit () const
 
const NodeouterImplicit () const
 

Public Attributes

NodeParent
 
llvm::SmallVector< const Node * > Children
 
DynTypedNode ASTNode
 
Selection Selected
 

Detailed Description

Definition at line 123 of file Selection.h.

Member Function Documentation

◆ getDeclContext()

const DeclContext & clang::clangd::SelectionTree::Node::getDeclContext ( ) const

Definition at line 1107 of file Selection.cpp.

References Decl, and Parent.

Referenced by clang::clangd::typeForNode().

◆ ignoreImplicit()

const SelectionTree::Node & clang::clangd::SelectionTree::Node::ignoreImplicit ( ) const

Definition at line 1123 of file Selection.cpp.

References clang::clangd::Children.

◆ kind()

std::string clang::clangd::SelectionTree::Node::kind ( ) const

Definition at line 1026 of file Selection.cpp.

References OS.

◆ outerImplicit()

const SelectionTree::Node & clang::clangd::SelectionTree::Node::outerImplicit ( ) const

Definition at line 1130 of file Selection.cpp.

References ASTNode, outerImplicit(), and Parent.

Referenced by outerImplicit().

Member Data Documentation

◆ ASTNode

DynTypedNode clang::clangd::SelectionTree::Node::ASTNode

Definition at line 129 of file Selection.h.

Referenced by outerImplicit(), and clang::clangd::typeForNode().

◆ Children

llvm::SmallVector<const Node *> clang::clangd::SelectionTree::Node::Children

Definition at line 127 of file Selection.h.

Referenced by clang::clangd::SelectionTree::commonAncestor().

◆ Parent

Node* clang::clangd::SelectionTree::Node::Parent

Definition at line 125 of file Selection.h.

Referenced by getDeclContext(), and clang::clangd::typeForNode().

◆ Selected

Selection clang::clangd::SelectionTree::Node::Selected

Definition at line 131 of file Selection.h.

Referenced by clang::clangd::SelectionTree::commonAncestor().


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