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

A strong emphasis span (** or __). More...

#include <Markdown.h>

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

Public Member Functions

 StrongNode ()
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::InlineNode
 InlineNode (NodeKind K)
virtual ~InlineNode ()=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 InlineNode *N)

Detailed Description

A strong emphasis span (** or __).

Definition at line 117 of file Markdown.h.

Constructor & Destructor Documentation

◆ StrongNode()

clang::doc::markdown::StrongNode::StrongNode ( )
inline

Member Function Documentation

◆ addChild()

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

Definition at line 120 of file Markdown.h.

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

◆ children() [1/2]

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

Definition at line 122 of file Markdown.h.

Referenced by print().

◆ children() [2/2]

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

Definition at line 123 of file Markdown.h.

◆ classof()

bool clang::doc::markdown::StrongNode::classof ( const InlineNode * N)
inlinestatic

◆ print()

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

Recursively prints the node and its children to OS.

Implements clang::doc::markdown::InlineNode.

Definition at line 35 of file Markdown.cpp.

References children().

◆ removeChild()

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

Definition at line 121 of file Markdown.h.

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


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