clang-tools 23.0.0git
clang::doc::markdown::UnorderedListNode Class Reference

An unordered list (-, *, or + markers). More...

#include <Markdown.h>

Inheritance diagram for clang::doc::markdown::UnorderedListNode:
[legend]

Public Member Functions

 UnorderedListNode ()
void addItem (ListItemNode &N)
void removeItem (ListItemNode &N)
ItemListitems ()
const ItemListitems () const
void print (llvm::raw_ostream &OS) const override
 Recursively prints the node and its children to OS.
Public Member Functions inherited from clang::doc::markdown::BlockNode
 BlockNode (NodeKind K)
virtual ~BlockNode ()=default
NodeKind getKind () const
LLVM_DUMP_METHOD void dump () const
 Prints to llvm::errs(). Only available in assert builds.

Static Public Member Functions

static bool classof (const BlockNode *N)

Detailed Description

An unordered list (-, *, or + markers).

Definition at line 233 of file Markdown.h.

Constructor & Destructor Documentation

◆ UnorderedListNode()

clang::doc::markdown::UnorderedListNode::UnorderedListNode ( )
inline

Member Function Documentation

◆ addItem()

void clang::doc::markdown::UnorderedListNode::addItem ( ListItemNode & N)
inline

Definition at line 236 of file Markdown.h.

◆ classof()

bool clang::doc::markdown::UnorderedListNode::classof ( const BlockNode * N)
inlinestatic

◆ items() [1/2]

ItemList & clang::doc::markdown::UnorderedListNode::items ( )
inline

Definition at line 238 of file Markdown.h.

Referenced by print().

◆ items() [2/2]

const ItemList & clang::doc::markdown::UnorderedListNode::items ( ) const
inline

Definition at line 239 of file Markdown.h.

◆ print()

void clang::doc::markdown::UnorderedListNode::print ( llvm::raw_ostream & OS) const
overridevirtual

Recursively prints the node and its children to OS.

Implements clang::doc::markdown::BlockNode.

Definition at line 71 of file Markdown.cpp.

References items().

◆ removeItem()

void clang::doc::markdown::UnorderedListNode::removeItem ( ListItemNode & N)
inline

Definition at line 237 of file Markdown.h.


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