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

Payload for textDocument/ast request. More...

#include <Protocol.h>

Public Attributes

TextDocumentIdentifier textDocument
 The text document.
 
std::optional< Rangerange
 The position of the node to be dumped.
 

Detailed Description

Payload for textDocument/ast request.

This request is a clangd extension.

Definition at line 1984 of file Protocol.h.

Member Data Documentation

◆ range

std::optional<Range> clang::clangd::ASTParams::range

The position of the node to be dumped.

The highest-level node that entirely contains the range will be returned. If no range is given, the root translation unit node will be returned.

Definition at line 1991 of file Protocol.h.

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

◆ textDocument

TextDocumentIdentifier clang::clangd::ASTParams::textDocument

The text document.

Definition at line 1986 of file Protocol.h.

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


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