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

A paragraph of inline content. More...

#include <Markdown.h>

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

Public Member Functions

 ParagraphNode ()
void addChild (InlineNode &N)
void removeChild (InlineNode &N)
InlineListchildren ()
const InlineListchildren () 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 paragraph of inline content.

Definition at line 156 of file Markdown.h.

Constructor & Destructor Documentation

◆ ParagraphNode()

clang::doc::markdown::ParagraphNode::ParagraphNode ( )
inline

Member Function Documentation

◆ addChild()

void clang::doc::markdown::ParagraphNode::addChild ( InlineNode & N)
inline

Definition at line 159 of file Markdown.h.

◆ children() [1/2]

InlineList & clang::doc::markdown::ParagraphNode::children ( )
inline

Definition at line 161 of file Markdown.h.

Referenced by print().

◆ children() [2/2]

const InlineList & clang::doc::markdown::ParagraphNode::children ( ) const
inline

Definition at line 162 of file Markdown.h.

◆ classof()

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

◆ print()

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

Recursively prints the node and its children to OS.

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

Definition at line 45 of file Markdown.cpp.

References children().

◆ removeChild()

void clang::doc::markdown::ParagraphNode::removeChild ( InlineNode & N)
inline

Definition at line 160 of file Markdown.h.


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