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

Class cmark_parser

src/parser.h:15–36  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

13#define MAX_LINK_LABEL_LENGTH 1000
14
15struct cmark_parser {
16 struct cmark_mem *mem;
17 struct cmark_reference_map *refmap;
18 struct cmark_node *root;
19 struct cmark_node *current;
20 int line_number;
21 bufsize_t offset;
22 bufsize_t column;
23 bufsize_t first_nonspace;
24 bufsize_t first_nonspace_column;
25 bufsize_t thematic_break_kill_pos;
26 int indent;
27 bool blank;
28 bool partially_consumed_tab;
29 cmark_strbuf curline;
30 bufsize_t last_line_length;
31 cmark_strbuf linebuf;
32 cmark_strbuf content;
33 int options;
34 bool last_buffer_ended_with_cr;
35 unsigned int total_size;
36};
37
38#ifdef __cplusplus
39}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected