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

#include <Protocol.h>

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

Public Attributes

CompletionContext context
 
std::optional< int > limit
 Max results to return, overriding global default.
 
- Public Attributes inherited from clang::clangd::TextDocumentPositionParams
TextDocumentIdentifier textDocument
 The text document.
 
Position position
 The position inside the text document.
 

Detailed Description

Definition at line 1231 of file Protocol.h.

Member Data Documentation

◆ context

CompletionContext clang::clangd::CompletionParams::context

Definition at line 1232 of file Protocol.h.

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

◆ limit

std::optional<int> clang::clangd::CompletionParams::limit

Max results to return, overriding global default.

0 means no limit. Clangd extension.

Definition at line 1236 of file Protocol.h.

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


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