clang-tools 20.0.0git
Public Member Functions | List of all members
clang::clangd::markup::BulletList Class Reference

Represents a sequence of one or more documents. More...

#include <Markup.h>

Inheritance diagram for clang::clangd::markup::BulletList:
Inheritance graph
[legend]

Public Member Functions

 BulletList ()
 
 ~BulletList ()
 
void renderMarkdown (llvm::raw_ostream &OS) const override
 
void renderPlainText (llvm::raw_ostream &OS) const override
 
std::unique_ptr< Blockclone () const override
 
class DocumentaddItem ()
 
- Public Member Functions inherited from clang::clangd::markup::Block
virtual void renderMarkdown (llvm::raw_ostream &OS) const =0
 
virtual void renderPlainText (llvm::raw_ostream &OS) const =0
 
virtual std::unique_ptr< Blockclone () const =0
 
std::string asMarkdown () const
 
std::string asPlainText () const
 
virtual bool isRuler () const
 
virtual ~Block ()=default
 

Detailed Description

Represents a sequence of one or more documents.

Knows how to print them in a list like format, e.g. by prepending with "- " and indentation.

Definition at line 80 of file Markup.h.

Constructor & Destructor Documentation

◆ BulletList()

clang::clangd::markup::BulletList::BulletList ( )
default

◆ ~BulletList()

clang::clangd::markup::BulletList::~BulletList ( )
default

Member Function Documentation

◆ addItem()

class Document & clang::clangd::markup::BulletList::addItem ( )

Definition at line 456 of file Markup.cpp.

◆ clone()

std::unique_ptr< Block > clang::clangd::markup::BulletList::clone ( ) const
overridevirtual

Implements clang::clangd::markup::Block.

Definition at line 452 of file Markup.cpp.

◆ renderMarkdown()

void clang::clangd::markup::BulletList::renderMarkdown ( llvm::raw_ostream &  OS) const
overridevirtual

Implements clang::clangd::markup::Block.

Definition at line 399 of file Markup.cpp.

References OS.

◆ renderPlainText()

void clang::clangd::markup::BulletList::renderPlainText ( llvm::raw_ostream &  OS) const
overridevirtual

Implements clang::clangd::markup::Block.

Definition at line 409 of file Markup.cpp.

References OS.


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