Herb C Reference
Loading...
Searching...
No Matches
herb.h
Go to the documentation of this file.
1#ifndef HERB_H
2#define HERB_H
3
4#include "array.h"
5#include "ast_node.h"
6#include "buffer.h"
7#include "extract.h"
8
9#include <stdint.h>
10
11#ifdef __cplusplus
12extern "C" {
13#endif
14
15void herb_lex_to_buffer(const char* source, buffer_T* output);
16void herb_lex_json_to_buffer(const char* source, buffer_T* output);
17
18array_T* herb_lex(const char* source);
19array_T* herb_lex_file(const char* path);
20
21AST_DOCUMENT_NODE_T* herb_parse(const char* source);
22
23const char* herb_version(void);
24const char* herb_prism_version(void);
25
26void herb_free_tokens(array_T** tokens);
27
28#ifdef __cplusplus
29}
30#endif
31
32#endif
array_T * herb_lex(const char *source)
Definition herb.c:14
const char * herb_prism_version(void)
Definition herb.c:101
void herb_lex_json_to_buffer(const char *source, buffer_T *output)
Definition herb.c:66
void herb_free_tokens(array_T **tokens)
Definition herb.c:86
array_T * herb_lex_file(const char *path)
Definition herb.c:41
const char * herb_version(void)
Definition herb.c:97
AST_DOCUMENT_NODE_T * herb_parse(const char *source)
Definition herb.c:30
void herb_lex_to_buffer(const char *source, buffer_T *output)
Definition herb.c:50
Definition array.h:6
Definition ast_nodes.h:55
Definition buffer.h:7