Go to the source code of this file.
Data Structures | |
struct | parser_s |
Typedefs | |
typedef parser_s | parser_t |
typedef int(* | parser_cb_html_t )(parser_t *, void *, const char *, size_t) |
typedef int(* | parser_cb_code_t )(parser_t *, int, void *, const char *, size_t) |
Functions | |
int | parser_create (parser_t **) |
int | parser_free (parser_t *) |
int | parser_run (parser_t *) |
int | parser_reset (parser_t *) |
void | parser_set_io (parser_t *, io_t *, io_t *) |
void | parser_set_cb_code (parser_t *, parser_cb_code_t) |
void | parser_set_cb_html (parser_t *, parser_cb_html_t) |
void | parser_set_cb_arg (parser_t *, void *) |
|
|
|
|
|
Definition at line 24 of file parser.h. Referenced by parser_create(), parser_free(), parser_reset(), parser_run(), parser_set_cb_arg(), parser_set_cb_code(), parser_set_cb_html(), parser_set_io(), and translate_script_to_c(). |
|
Definition at line 245 of file parser.c. References parser_free(), parser_reset(), and parser_t. Referenced by translate_script_to_c(). |
|
Definition at line 228 of file parser.c. References parser_t. Referenced by parser_create(), and translate_script_to_c(). |
|
Definition at line 234 of file parser.c. References parser_s::cmd_code, parser_s::line, parser_t, parser_s::prev_state, and parser_s::state. Referenced by parser_create(). |
|
Definition at line 73 of file parser.c. References parser_s::cmd_code, parser_s::code_line, CR, fetch_next_char, parser_s::line, parser_t, parser_s::prev_state, S_CODE, S_EAT_NEWLINE, S_HTML, S_IN_DOUBLE_QUOTE, S_IN_SINGLE_QUOTE, S_START, S_START_CODE, S_WAIT_GT, S_WAIT_PERC, set_state, and parser_s::state. Referenced by translate_script_to_c(). |
|
Definition at line 215 of file parser.c. References parser_s::cb_arg, and parser_t. Referenced by translate_script_to_c(). |
|
Definition at line 203 of file parser.c. References parser_s::cb_code, and parser_t. Referenced by translate_script_to_c(). |
|
Definition at line 209 of file parser.c. References parser_s::cb_html, and parser_t. Referenced by translate_script_to_c(). |
|
Definition at line 221 of file parser.c. References parser_s::in, io_t, parser_s::out, and parser_t. Referenced by translate_script_to_c(). |