api

ast.ch

Declarations in ast.ch

36 declarationsmd_parser

Declarations

Public only
MdNodeKind#
Publicenum
enum MdNodeKind { Root, Header, Paragraph, List, ListItem, Text, Interpolation, Bold, Italic, Link, Image, CodeBlock, InlineCode, Blockquote, Hr, Table, TableRow, TableCell, Strikethrough, AutoLink, Superscript, Subscript, Insert, Mark, Footnote, FootnoteDef, DefinitionList, DefinitionTerm, DefinitionData, Abbreviation, CustomContainer, TaskCheckbox }
MdNode#
Publicstruct
struct MdNode { var kind : MdNodeKind }
MdReference#
Publicstruct
struct MdReference { var url : string_view var title : string_view }
make#
functionConstructor
func make() : MdReference
MdRoot#
Publicstruct
struct MdRoot { var base : MdNode var parent : *ASTNode var children : vector<*MdNode> var dyn_values : vector<*Value> var support : SymResSupport var reference_defs : unordered_map<string, MdReference> }
delete#
function
func delete(self : *MdRoot) : void
MdText#
Publicstruct
struct MdText { var base : MdNode var value : string_view }
MdHeader#
Publicstruct
struct MdHeader { var base : MdNode var level : int var children : vector<*MdNode> }
delete#
function
func delete(self : *MdHeader) : void
MdParagraph#
Publicstruct
struct MdParagraph { var base : MdNode var children : vector<*MdNode> }
delete#
function
func delete(self : *MdParagraph) : void
MdInterpolation#
Publicstruct
struct MdInterpolation { var base : MdNode var value : *Value }
MdBold#
Publicstruct
struct MdBold { var base : MdNode var children : vector<*MdNode> }
delete#
function
func delete(self : *MdBold) : void
MdItalic#
Publicstruct
struct MdItalic { var base : MdNode var children : vector<*MdNode> }
delete#
function
func delete(self : *MdItalic) : void
MdStrikethrough#
Publicstruct
struct MdStrikethrough { var base : MdNode var children : vector<*MdNode> }
delete#
function
func delete(self : *MdStrikethrough) : void
MdImage#
Publicstruct
struct MdImage { var base : MdNode var url : string_view var alt : string_view var title : string_view }
MdInlineCode#
Publicstruct
struct MdInlineCode { var base : MdNode var value : string_view }
MdCodeBlock#
Publicstruct
struct MdCodeBlock { var base : MdNode var language : string_view var code : string_view }
MdBlockquote#
Publicstruct
struct MdBlockquote { var base : MdNode var alert_type : string_view var children : vector<*MdNode> }
delete#
function
func delete(self : *MdBlockquote) : void
MdHorizontalRule#
Publicstruct
struct MdHorizontalRule { var base : MdNode }
MdList#
Publicstruct
struct MdList { var base : MdNode var ordered : bool var start : int var children : vector<*MdNode> }
delete#
function
func delete(self : *MdList) : void
MdListItem#
Publicstruct
struct MdListItem { var base : MdNode var children : vector<*MdNode> }
delete#
function
func delete(self : *MdListItem) : void
MdTaskCheckbox#
Publicstruct
struct MdTaskCheckbox { var base : MdNode var checked : bool }
MdTableAlign#
Publicenum
enum MdTableAlign { Left, Center, Right, None }
MdTable#
Publicstruct
struct MdTable { var base : MdNode var alignments : vector<MdTableAlign> var children : vector<*MdNode> }
delete#
function
func delete(self : *MdTable) : void
MdTableRow#
Publicstruct
struct MdTableRow { var base : MdNode var is_header : bool var children : vector<*MdNode> }
delete#
function
func delete(self : *MdTableRow) : void
MdTableCell#
Publicstruct
struct MdTableCell { var base : MdNode var children : vector<*MdNode> }
delete#
function
func delete(self : *MdTableCell) : void
MdSuperscript#
Publicstruct
struct MdSuperscript { var base : MdNode var children : vector<*MdNode> }
delete#
function
func delete(self : *MdSuperscript) : void
MdSubscript#
Publicstruct
struct MdSubscript { var base : MdNode var children : vector<*MdNode> }
delete#
function
func delete(self : *MdSubscript) : void
MdInsert#
Publicstruct
struct MdInsert { var base : MdNode var children : vector<*MdNode> }
delete#
function
func delete(self : *MdInsert) : void
MdMark#
Publicstruct
struct MdMark { var base : MdNode var children : vector<*MdNode> }
delete#
function
func delete(self : *MdMark) : void
MdFootnote#
Publicstruct
struct MdFootnote { var base : MdNode var id : string_view }
MdFootnoteDef#
Publicstruct
struct MdFootnoteDef { var base : MdNode var id : string_view var children : vector<*MdNode> }
delete#
function
func delete(self : *MdFootnoteDef) : void
MdDefinitionList#
Publicstruct
struct MdDefinitionList { var base : MdNode var children : vector<*MdNode> }
delete#
function
func delete(self : *MdDefinitionList) : void
MdDefinitionTerm#
Publicstruct
struct MdDefinitionTerm { var base : MdNode var children : vector<*MdNode> }
delete#
function
func delete(self : *MdDefinitionTerm) : void
MdDefinitionData#
Publicstruct
struct MdDefinitionData { var base : MdNode var children : vector<*MdNode> }
delete#
function
func delete(self : *MdDefinitionData) : void
MdAbbreviation#
Publicstruct
struct MdAbbreviation { var base : MdNode var id : string_view var title : string_view }
MdCustomContainer#
Publicstruct
struct MdCustomContainer { var base : MdNode var type : string_view var children : vector<*MdNode> }
delete#
function
func delete(self : *MdCustomContainer) : void