#include <syntax.h>
Inheritance diagram for ht_c_syntax_lexer:
Public Member Functions | |
void | init () |
virtual void | done () |
virtual vcp | getcolor_syntax (UINT pal_index) |
virtual lexer_state | getinitstate () |
virtual lexer_token | geterrortoken () |
virtual char * | getname () |
virtual lexer_token | gettoken (void *buf, UINT buflen, text_pos p, bool start_of_line, lexer_state *ret_state, UINT *ret_len) |
virtual vcp | gettoken_color (lexer_token t) |
Protected Member Functions | |
virtual void | config_changed () |
void | reloadpalette () |
Protected Attributes | |
char ** | c_reserved_sorted |
UINT | c_reserved_count |
palette | c_pal |
|
Reimplemented from ht_syntax_lexer. Definition at line 368 of file syntax.cc. References reloadpalette(). Referenced by init(). |
|
Reimplemented from ht_lang_syntax_lexer. Definition at line 361 of file syntax.cc. References c_pal, c_reserved_sorted, palette::data, and ht_lang_syntax_lexer::done(). |
|
Implements ht_syntax_lexer. Definition at line 373 of file syntax.cc. References c_pal, getcolorv(), UINT, and vcp. Referenced by gettoken_color(). |
|
Implements ht_syntax_lexer. Definition at line 378 of file syntax.cc. References LEX_CTOK_ERROR, and lexer_token. |
|
Implements ht_syntax_lexer. Definition at line 383 of file syntax.cc. References LEX_CST_NORMAL, and lexer_state. |
|
Implements ht_syntax_lexer. |
|
Reimplemented from ht_lang_syntax_lexer. Definition at line 393 of file syntax.cc. References buf, c_reserved_count, c_reserved_sorted, ht_lang_syntax_lexer::gettoken(), LEX_CTOK_IDENTIFIER, LEX_CTOK_RIDENTIFIER, lexer_state, lexer_token, match_sorted_stringtable(), and UINT. |
|
|
Reimplemented from Object. Definition at line 344 of file syntax.cc. References c_pal, c_reserved, c_reserved_count, c_reserved_sorted, c_syntax_lexer_rules, config_changed(), create_sorted_stringtable(), palette::data, Object::init(), NULL, and palette::size. Referenced by ht_app::init(). |
|
Definition at line 421 of file syntax.cc. References c_pal, palette::data, load_pal(), NULL, palclasskey_syntax, and palkey_syntax_c_default. Referenced by config_changed(). |
|
Definition at line 107 of file syntax.h. Referenced by done(), getcolor_syntax(), init(), and reloadpalette(). |
|
Definition at line 105 of file syntax.h. Referenced by gettoken(), and init(). |
|
Definition at line 104 of file syntax.h. Referenced by done(), gettoken(), and init(). |