Sha256: 0afaeb56ba7331f736406ac7d9059ba9bb1ea8d7be11786577fdfe372f069e2c

Contents?: true

Size: 685 Bytes

Versions: 4

Compression:

Stored size: 685 Bytes

Contents

#ifndef CMARK_AST_H
#define CMARK_AST_H

#include <stdio.h>
#include "node.h"
#include "buffer.h"
#include "memory.h"

#ifdef __cplusplus
extern "C" {
#endif

#define MAX_LINK_LABEL_LENGTH 1000

struct cmark_parser {
  struct cmark_mem *mem;
  struct cmark_reference_map *refmap;
  struct cmark_node *root;
  struct cmark_node *current;
  int line_number;
  bufsize_t offset;
  bufsize_t column;
  bufsize_t first_nonspace;
  bufsize_t first_nonspace_column;
  int indent;
  bool blank;
  bool partially_consumed_tab;
  cmark_strbuf curline;
  bufsize_t last_line_length;
  cmark_strbuf linebuf;
  int options;
  bool last_buffer_ended_with_cr;
};

#ifdef __cplusplus
}
#endif

#endif

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
commonmarker-0.13.0 ext/commonmarker/cmark/src/parser.h
commonmarker-0.12.0 ext/commonmarker/cmark/src/parser.h
commonmarker-0.10.0 ext/commonmarker/cmark/src/parser.h
commonmarker-0.9.2 ext/commonmarker/cmark/src/parser.h