clang-tools 22.0.0git
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 1110 of file Selection.cpp.

References Parent.

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

◆ ignoreImplicit()

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

Definition at line 1126 of file Selection.cpp.

References ASTNode, and Children.

◆ kind()

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

Definition at line 1029 of file Selection.cpp.

References ASTNode.

◆ outerImplicit()

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

Definition at line 1133 of file Selection.cpp.

References ASTNode, and Parent.

Member Data Documentation

◆ ASTNode

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

Definition at line 129 of file Selection.h.

Referenced by ignoreImplicit(), kind(), 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(), and ignoreImplicit().

◆ Parent

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

◆ 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: