Public Types |
typedef std::list< Line > | line_list |
typedef line_list::iterator | line_list_it |
Public Methods |
| Precompiler (std::string infile, std::string outfile, bool use_tmp, bool no_erase) |
| Precompiler (std::string infile, std::string outfile, macro_list predef_soft_macros, macro_list predef_hard_macros, Strings::string_list locale, bool use_tmp, bool no_erase) |
| ~Precompiler () |
void | compile () |
std::string | get_tmp_file () |
Static Public Methods |
void | warning (std::string message) |
void | warning (Line line, std::string message) |
Static Public Attributes |
bool | emacs_warning = false |
| emacs parseable warnings. More...
|
bool | init_info = false |
Private Types |
typedef struct | Macros |
| structure handling the macros. More...
|
typedef std::list< Where_link > | where_link_list |
typedef where_link_list::iterator | where_link_list_it |
typedef std::list< Where > | where_list |
typedef std::list< Where
>::iterator | where_list_it |
typedef std::list< InitTableEntry > | init_list |
typedef init_list::iterator | init_list_it |
typedef std::list< Init_Scan > | init_scan_list |
typedef init_scan_list::iterator | init_scan_list_it |
Private Methods |
Line | read_line (File &in) |
| reads a line from a lex file. More...
|
void | write_line (const Line &line, File &out) |
| writes a line to a lex file. More...
|
void | lex_file (File in, File out) |
| lexes an html file. More...
|
void | include_scan (File in, File out, std::string last_cur_dir="") |
| includes included files. More...
|
Macros | read_macros (File in, Init::Range range) |
| reads the macros. More...
|
void | rebuilt_file (File in, File out) |
| creates an html file from an lex file. More...
|
void | substitude_soft_macros (Macros ¯os, File in, File out, Init::Range range) |
void | substitude_hard_macros (Macros ¯os, File in, File out, Init::Range range) |
bool | built_menu (File in, File out) |
| creates the menu. More...
|
bool | locale_support (File in, File out) |
| locale switcher. More...
|
line_list_it | find_locale_start (line_list &ll, line_list_it start) |
| finds a new locale start. More...
|
line_list_it | find_locale_end (line_list &ll, line_list_it start) |
| finds the end of a locale. More...
|
void | script_support (File in) |
void | image_scan (File in, File out, Init::Range range) |
void | filelink_scan (File in, File out) |
void | filelist_scan (File in, File out) |
init_scan_list | init_scan (File in, File out) |
| scans for an init table and sets the init_table list. More...
|
bool | script_function_scan (File in, File out) |
| scans for script functions. More...
|
void | compile (File in, File out) |
| compile with the rules from the init table. More...
|
void | include_at_line (Line line, File out) |
| includes only at this line, if there is an include tag. More...
|
void | char_set_scan (File in, File out) |
| recode support. More...
|
void | set (Init::Type type) |
| marks a specific scan type as "found". More...
|
void | auto_init_check (std::string &tag_type) |
| try's to guess which scans are required. More...
|
bool | delete_scan (File in, File out, Init::Range range) |
| executes the delete tags. More...
|
void | define_scan (File in) |
| scans for user defined tags. More...
|
bool | user_scan (File in, File out, std::string init_name) |
| executes the user defined tags. More...
|
std::string | get_path (std::string file) |
| gets the real path to a file. More...
|
init_list | get_default_init_table () |
void | init_check (File in, File out) |
| do not call init_scan directly use this function. More...
|
Static Private Methods |
std::string | simplify_path (std::string path) |
| removes the exec_path from a given path. More...
|
Private Attributes |
bool | eof_reached |
File | in |
File | out |
Tmp * | temp |
init_list | init_table |
InterpreterHandler | ip_handler |
UserHandler::def_list | defines |
Strings::string_list | user_scans |
| all defined user scans. More...
|
std::string | current_path |
bool | use_default_init_table |
macro_list | predef_soft_macros |
| predefined soft macros. More...
|
macro_list | predef_hard_macros |
| predefined hard macros. More...
|
Strings::string_list | locale_list |
bool | use_tmp |
bool | auto_init_detection |
Friends |
bool | operator== (const Line &l1, const Line &l2) |