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

#include <Protocol.h>

Collaboration diagram for clang::clangd::TextDocumentItem:
[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 235 of file Protocol.h.

Member Data Documentation

◆ languageId

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

The text document's language identifier.

Definition at line 240 of file Protocol.h.

◆ text

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

The content of the opened text document.

Definition at line 249 of file Protocol.h.

◆ uri

URIForFile clang::clangd::TextDocumentItem::uri

The text document's URI.

Definition at line 237 of file Protocol.h.

◆ 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 246 of file Protocol.h.


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