libMultiMarkdown7 7.0.0-alpha.1
Lightweight markup processor to produce HTML, LaTeX, and more.
|
Nodes are used to build the AST during parsing. More...
#include <libMultiMarkdown.h>
Data Fields | |
unsigned char | type |
type for this node | |
uint32_t | hash |
hash for the node, useful when comparing two parse trees for similar branches | |
size_t | start |
Starting offset (in bytes) in the source text for this node. | |
size_t | len |
Byte length in the source text for this node. | |
struct mmd_node * | next |
Pointer to next node in the AST. | |
struct mmd_node * | child |
Pointer to first child node in the AST. | |
struct mmd_node * | tail |
Pointer to last sibling node in the AST. | |
struct mmd_node * | content |
If node was parsed into span-level content, place it here. |
Nodes are used to build the AST during parsing.
Definition at line 194 of file libMultiMarkdown.h.
struct mmd_node* mmd_node::child |
Pointer to first child node in the AST.
Definition at line 202 of file libMultiMarkdown.h.
struct mmd_node* mmd_node::content |
If node was parsed into span-level content, place it here.
Definition at line 205 of file libMultiMarkdown.h.
uint32_t mmd_node::hash |
hash for the node, useful when comparing two parse trees for similar branches
Definition at line 196 of file libMultiMarkdown.h.
size_t mmd_node::len |
Byte length in the source text for this node.
Definition at line 199 of file libMultiMarkdown.h.
struct mmd_node* mmd_node::next |
Pointer to next node in the AST.
Definition at line 201 of file libMultiMarkdown.h.
size_t mmd_node::start |
Starting offset (in bytes) in the source text for this node.
Definition at line 198 of file libMultiMarkdown.h.
struct mmd_node* mmd_node::tail |
Pointer to last sibling node in the AST.
Definition at line 203 of file libMultiMarkdown.h.
unsigned char mmd_node::type |
type for this node
Definition at line 195 of file libMultiMarkdown.h.