|
libMultiMarkdown7 7.0.0-beta.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 232 of file libMultiMarkdown.h.
| struct mmd_node* mmd_node::child |
Pointer to first child node in the AST.
Definition at line 240 of file libMultiMarkdown.h.
| struct mmd_node* mmd_node::content |
If node was parsed into span-level content, place it here.
Definition at line 243 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 234 of file libMultiMarkdown.h.
| size_t mmd_node::len |
Byte length in the source text for this node.
Definition at line 237 of file libMultiMarkdown.h.
| struct mmd_node* mmd_node::next |
Pointer to next node in the AST.
Definition at line 239 of file libMultiMarkdown.h.
| size_t mmd_node::start |
Starting offset (in bytes) in the source text for this node.
Definition at line 236 of file libMultiMarkdown.h.
| struct mmd_node* mmd_node::tail |
Pointer to last sibling node in the AST.
Definition at line 241 of file libMultiMarkdown.h.
| unsigned char mmd_node::type |
type for this node
Definition at line 233 of file libMultiMarkdown.h.