clang-tools 20.0.0git
Public Attributes | List of all members
clang::clangd::TypeHierarchyPrepareParams Struct Reference

The type hierarchy params is an extension of the TextDocumentPositionsParams with optional properties which can be used to eagerly resolve the item when requesting from the server. More...

#include <Protocol.h>

Inheritance diagram for clang::clangd::TypeHierarchyPrepareParams:
Inheritance graph
[legend]

Public Attributes

int resolve = 0
 The hierarchy levels to resolve.
 
TypeHierarchyDirection direction = TypeHierarchyDirection::Parents
 The direction of the hierarchy levels to resolve.
 
- Public Attributes inherited from clang::clangd::TextDocumentPositionParams
TextDocumentIdentifier textDocument
 The text document.
 
Position position
 The position inside the text document.
 

Detailed Description

The type hierarchy params is an extension of the TextDocumentPositionsParams with optional properties which can be used to eagerly resolve the item when requesting from the server.

Definition at line 1483 of file Protocol.h.

Member Data Documentation

◆ direction

TypeHierarchyDirection clang::clangd::TypeHierarchyPrepareParams::direction = TypeHierarchyDirection::Parents

The direction of the hierarchy levels to resolve.

This is a clangd extension.

Definition at line 1490 of file Protocol.h.

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

◆ resolve

int clang::clangd::TypeHierarchyPrepareParams::resolve = 0

The hierarchy levels to resolve.

0 indicates no level. This is a clangd extension.

Definition at line 1486 of file Protocol.h.

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


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