Herb C Reference
Loading...
Searching...
No Matches
extract.h
Go to the documentation of this file.
1#ifndef HERB_EXTRACT_H
2#define HERB_EXTRACT_H
3
4#include "util/hb_buffer.h"
5
6#include <stdbool.h>
7
12
18
20
22 const char* source,
23 hb_buffer_T* output,
24 const herb_extract_ruby_options_T* options
25);
26void herb_extract_ruby_to_buffer(const char* source, hb_buffer_T* output);
27void herb_extract_html_to_buffer(const char* source, hb_buffer_T* output);
28
29char* herb_extract_ruby_with_semicolons(const char* source);
30
31char* herb_extract(const char* source, herb_extract_language_T language);
32char* herb_extract_from_file(const char* path, herb_extract_language_T language);
33
34#endif
char * herb_extract_from_file(const char *path, herb_extract_language_T language)
Definition extract.c:189
void herb_extract_ruby_to_buffer_with_options(const char *source, hb_buffer_T *output, const herb_extract_ruby_options_T *options)
Definition extract.c:15
herb_extract_language_T
Definition extract.h:8
@ HERB_EXTRACT_LANGUAGE_HTML
Definition extract.h:10
@ HERB_EXTRACT_LANGUAGE_RUBY
Definition extract.h:9
char * herb_extract(const char *source, herb_extract_language_T language)
Definition extract.c:174
const herb_extract_ruby_options_T HERB_EXTRACT_RUBY_DEFAULT_OPTIONS
Definition extract.c:11
void herb_extract_html_to_buffer(const char *source, hb_buffer_T *output)
Definition extract.c:146
char * herb_extract_ruby_with_semicolons(const char *source)
Definition extract.c:163
void herb_extract_ruby_to_buffer(const char *source, hb_buffer_T *output)
Definition extract.c:142
Definition extract.h:13
bool preserve_positions
Definition extract.h:16
bool comments
Definition extract.h:15
bool semicolons
Definition extract.h:14