Main Page | Modules | Data Structures | Directories | File List | Data Fields | Globals

trans_c.c File Reference

Go to the source code of this file.

Typedefs

typedef code_block_s code_block_t
typedef code_block_list_s code_block_list_t
typedef lang_c_ctx_s lang_c_ctx_t

Functions

 TAILQ_HEAD (code_block_list_s, code_block_s)
int translate_opaque_to_c (io_t *in, io_t *out, trans_info_t *ti)
int translate_script_to_c (io_t *in, io_t *out, trans_info_t *ti)


Typedef Documentation

typedef struct code_block_list_s code_block_list_t
 

Definition at line 36 of file trans_c.c.

typedef struct code_block_s code_block_t
 

Definition at line 35 of file trans_c.c.

typedef struct lang_c_ctx_s lang_c_ctx_t
 

Definition at line 45 of file trans_c.c.

Referenced by translate_opaque_to_c(), and translate_script_to_c().


Function Documentation

TAILQ_HEAD code_block_list_s  ,
code_block_s 
 

int translate_opaque_to_c io_t in,
io_t out,
trans_info_t ti
 

Definition at line 447 of file trans_c.c.

References ctx, io_getc(), io_printf(), io_t, lang_c_ctx_t, and trans_info_t.

Referenced by translate().

int translate_script_to_c io_t in,
io_t out,
trans_info_t ti
 

Definition at line 485 of file trans_c.c.

References ctx, io_t, lang_c_ctx_t, parser_s::out, parser_create(), parser_free(), parser_run(), parser_set_cb_arg(), parser_set_cb_code(), parser_set_cb_html(), parser_set_io(), parser_t, and trans_info_t.

Referenced by translate().


←Products
© 2005-2006 - KoanLogic S.r.l. - All rights reserved