nixd
Loading...
Searching...
No Matches
Public Attributes | List of all members
lspserver::TypeHierarchyPrepareParams Struct Reference

#include <Protocol.h>

Inheritance diagram for lspserver::TypeHierarchyPrepareParams:
[legend]
Collaboration diagram for lspserver::TypeHierarchyPrepareParams:
[legend]

Public Attributes

int resolve = 0
 
TypeHierarchyDirection direction = TypeHierarchyDirection::Parents
 
- Public Attributes inherited from lspserver::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 1416 of file lspserver/include/lspserver/Protocol.h.

Member Data Documentation

◆ direction

TypeHierarchyDirection lspserver::TypeHierarchyPrepareParams::direction = TypeHierarchyDirection::Parents

The direction of the hierarchy levels to resolve. This is a clangd extension.

Definition at line 1423 of file lspserver/include/lspserver/Protocol.h.

Referenced by lspserver::fromJSON().

◆ resolve

int lspserver::TypeHierarchyPrepareParams::resolve = 0

The hierarchy levels to resolve. 0 indicates no level. This is a clangd extension.

Definition at line 1419 of file lspserver/include/lspserver/Protocol.h.

Referenced by lspserver::fromJSON().


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