clang-tools 23.0.0git
clang::doc::markdown Namespace Reference

Classes

class  BlockNode
 Base class for all block nodes. More...
class  BlockQuoteNode
 A block quote (> marker). More...
class  DocumentNode
 The root document node. Contains all top-level block nodes. More...
class  EmphasisNode
 An emphasis span (* or _). More...
class  FencedCodeNode
 A fenced code block (``` or ~~~). Lang holds the info string. More...
class  HeadingNode
 An ATX heading (# through ######). More...
class  InlineCodeNode
 A backtick-delimited inline code span. More...
class  InlineNode
 Base class for all inline nodes. More...
class  ListItemNode
 A single item in an unordered or ordered list. More...
class  OrderedListNode
 An ordered list (1. 2. 3. markers). Start holds the first item number. More...
class  ParagraphNode
 A paragraph of inline content. More...
class  StrongNode
 A strong emphasis span (** or __). More...
class  TextNode
 A plain text run. More...
class  ThematicBreakNode
 A thematic break (—, ***, or ___). More...
class  UnorderedListNode
 An unordered list (-, *, or + markers). More...

Typedefs

using InlineList = llvm::simple_ilist<InlineNode>
using BlockList = llvm::simple_ilist<BlockNode>
using ItemList = llvm::simple_ilist<ListItemNode>

Enumerations

enum class  NodeKind {
  NK_Text , NK_InlineCode , NK_Emphasis , NK_Strong ,
  NK_Paragraph , NK_Heading , NK_FencedCode , NK_Table ,
  NK_UnorderedList , NK_OrderedList , NK_BlockQuote , NK_ThematicBreak ,
  NK_Document
}

Typedef Documentation

◆ BlockList

using clang::doc::markdown::BlockList = llvm::simple_ilist<BlockNode>

Definition at line 153 of file Markdown.h.

◆ InlineList

using clang::doc::markdown::InlineList = llvm::simple_ilist<InlineNode>

Definition at line 67 of file Markdown.h.

◆ ItemList

using clang::doc::markdown::ItemList = llvm::simple_ilist<ListItemNode>

Definition at line 230 of file Markdown.h.

Enumeration Type Documentation

◆ NodeKind

enum class clang::doc::markdown::NodeKind
strong
Enumerator
NK_Text 
NK_InlineCode 
NK_Emphasis 
NK_Strong 
NK_Paragraph 
NK_Heading 
NK_FencedCode 
NK_Table 
NK_UnorderedList 
NK_OrderedList 
NK_BlockQuote 
NK_ThematicBreak 
NK_Document 

Definition at line 29 of file Markdown.h.