MCPcopy Create free account
hub / github.com/commonmark/cmark / cmark_node

Class cmark_node

src/node.h:56–85  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

54};
55
56struct cmark_node {
57 cmark_mem *mem;
58
59 struct cmark_node *next;
60 struct cmark_node *prev;
61 struct cmark_node *parent;
62 struct cmark_node *first_child;
63 struct cmark_node *last_child;
64
65 void *user_data;
66
67 unsigned char *data;
68 bufsize_t len;
69
70 int start_line;
71 int start_column;
72 int end_line;
73 int end_column;
74 uint16_t type;
75 uint16_t flags;
76
77 union {
78 cmark_list list;
79 cmark_code code;
80 cmark_heading heading;
81 cmark_link link;
82 cmark_custom custom;
83 int html_block_type;
84 } as;
85};
86
87CMARK_EXPORT int cmark_node_check(cmark_node *node, FILE *out);
88

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected