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

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

#include <Protocol.h>

Public Attributes

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

Detailed Description

The parameters of a Workspace Symbol Request.

Definition at line 1177 of file Protocol.h.

Member Data Documentation

◆ limit

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

Max results to return, overriding global default.

0 means no limit. Clangd extension.

Definition at line 1184 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 1180 of file Protocol.h.

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


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