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

Stores information about a region of code that can be folded. More...

#include <Protocol.h>

Public Attributes

unsigned startLine = 0
 
unsigned startCharacter
 
unsigned endLine = 0
 
unsigned endCharacter
 
std::string kind
 

Static Public Attributes

static const llvm::StringLiteral REGION_KIND = "region"
 
static const llvm::StringLiteral COMMENT_KIND = "comment"
 
static const llvm::StringLiteral IMPORT_KIND = "import"
 

Detailed Description

Stores information about a region of code that can be folded.

Definition at line 1960 of file Protocol.h.

Member Data Documentation

◆ COMMENT_KIND

const llvm::StringLiteral clang::clangd::FoldingRange::COMMENT_KIND = "comment"
static

Definition at line 1967 of file Protocol.h.

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

◆ endCharacter

unsigned clang::clangd::FoldingRange::endCharacter

Definition at line 1964 of file Protocol.h.

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

◆ endLine

unsigned clang::clangd::FoldingRange::endLine = 0

Definition at line 1963 of file Protocol.h.

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

◆ IMPORT_KIND

const llvm::StringLiteral clang::clangd::FoldingRange::IMPORT_KIND = "import"
static

Definition at line 1968 of file Protocol.h.

◆ kind

std::string clang::clangd::FoldingRange::kind

Definition at line 1969 of file Protocol.h.

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

◆ REGION_KIND

const llvm::StringLiteral clang::clangd::FoldingRange::REGION_KIND = "region"
static

Definition at line 1966 of file Protocol.h.

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

◆ startCharacter

unsigned clang::clangd::FoldingRange::startCharacter

Definition at line 1962 of file Protocol.h.

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

◆ startLine

unsigned clang::clangd::FoldingRange::startLine = 0

Definition at line 1961 of file Protocol.h.

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


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