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

A block quote (> marker). More...

#include <Markdown.h>

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

Public Member Functions

 BlockQuoteNode ()
void addChild (BlockNode &N)
void removeChild (BlockNode &N)
BlockListchildren ()
const BlockListchildren () 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

A block quote (> marker).

Definition at line 270 of file Markdown.h.

Constructor & Destructor Documentation

◆ BlockQuoteNode()

clang::doc::markdown::BlockQuoteNode::BlockQuoteNode ( )
inline

Member Function Documentation

◆ addChild()

void clang::doc::markdown::BlockQuoteNode::addChild ( BlockNode & N)
inline

Definition at line 273 of file Markdown.h.

References clang::doc::markdown::BlockNode::BlockNode().

◆ children() [1/2]

BlockList & clang::doc::markdown::BlockQuoteNode::children ( )
inline

Definition at line 275 of file Markdown.h.

Referenced by print().

◆ children() [2/2]

const BlockList & clang::doc::markdown::BlockQuoteNode::children ( ) const
inline

Definition at line 276 of file Markdown.h.

◆ classof()

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

◆ print()

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

Recursively prints the node and its children to OS.

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

Definition at line 83 of file Markdown.cpp.

References children().

◆ removeChild()

void clang::doc::markdown::BlockQuoteNode::removeChild ( BlockNode & N)
inline

Definition at line 274 of file Markdown.h.

References clang::doc::markdown::BlockNode::BlockNode().


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