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

#include <Protocol.h>

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

Public Attributes

URIForFile uri
 The text document's URI. More...
 
std::string languageId
 The text document's language identifier. More...
 
llvm::Optional< int64_t > version
 The version number of this document (it will strictly increase after each change, including undo/redo. More...
 
std::string text
 The content of the opened text document. More...
 

Detailed Description

Definition at line 239 of file Protocol.h.

Member Data Documentation

◆ languageId

std::string clang::clangd::TextDocumentItem::languageId

The text document's language identifier.

Definition at line 244 of file Protocol.h.

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

◆ text

std::string clang::clangd::TextDocumentItem::text

The content of the opened text document.

Definition at line 253 of file Protocol.h.

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

◆ uri

URIForFile clang::clangd::TextDocumentItem::uri

The text document's URI.

Definition at line 241 of file Protocol.h.

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

◆ version

llvm::Optional<int64_t> clang::clangd::TextDocumentItem::version

The version number of this document (it will strictly increase after each change, including undo/redo.

clangd extension: versions are optional, and synthesized if missing.

Definition at line 250 of file Protocol.h.

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


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