clang-tools  14.0.0git
Public Attributes | List of all members
clang::clangd::WorkspaceSymbolParams Struct Reference

The parameters of a Workspace Symbol Request. More...

#include <Protocol.h>

Collaboration diagram for clang::clangd::WorkspaceSymbolParams:
Collaboration graph
[legend]

Public Attributes

std::string query
 A query string to filter symbols by. More...
 
llvm::Optional< int > limit
 Max results to return, overriding global default. More...
 

Detailed Description

The parameters of a Workspace Symbol Request.

Definition at line 1082 of file Protocol.h.

Member Data Documentation

◆ limit

llvm::Optional<int> clang::clangd::WorkspaceSymbolParams::limit

Max results to return, overriding global default.

0 means no limit. Clangd extension.

Definition at line 1089 of file Protocol.h.

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

◆ query

std::string clang::clangd::WorkspaceSymbolParams::query

A query string to filter symbols by.

Clients may send an empty string here to request all the symbols.

Definition at line 1085 of file Protocol.h.

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


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