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

Payload for textDocument/ast request. More...

#include <Protocol.h>

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

Public Attributes

TextDocumentIdentifier textDocument
 The text document. More...
 
llvm::Optional< Rangerange
 The position of the node to be dumped. More...
 

Detailed Description

Payload for textDocument/ast request.

This request is a clangd extension.

Definition at line 1746 of file Protocol.h.

Member Data Documentation

◆ range

llvm::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 1753 of file Protocol.h.

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

◆ textDocument

TextDocumentIdentifier clang::clangd::ASTParams::textDocument

The text document.

Definition at line 1748 of file Protocol.h.

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


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