clang-tools 22.0.0git
clang::clangd::SelectionRange Struct Reference

#include <Protocol.h>

Public Attributes

Range range
 The range of this selection range.
std::unique_ptr< SelectionRangeparent
 The parent selection range containing this range.

Detailed Description

Definition at line 1915 of file Protocol.h.

Member Data Documentation

◆ parent

std::unique_ptr<SelectionRange> clang::clangd::SelectionRange::parent

The parent selection range containing this range.

Therefore parent.range must contain this.range.

Definition at line 1924 of file Protocol.h.

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

◆ range

Range clang::clangd::SelectionRange::range

The range of this selection range.

Definition at line 1919 of file Protocol.h.

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


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