Main Page | Class Hierarchy | Class List | File List | Class Members | File Members

ht_html_syntax_lexer Class Reference

#include <syntax.h>

Inheritance diagram for ht_html_syntax_lexer:

ht_lang_syntax_lexer ht_syntax_lexer Object List of all members.

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 ** html_reserved_sorted
UINT html_reserved_count
palette html_pal

Member Function Documentation

void ht_html_syntax_lexer::config_changed  )  [protected, virtual]
 

Reimplemented from ht_syntax_lexer.

Definition at line 578 of file syntax.cc.

References reloadpalette().

Referenced by init().

void ht_html_syntax_lexer::done  )  [virtual]
 

Reimplemented from ht_lang_syntax_lexer.

Definition at line 571 of file syntax.cc.

References ht_lang_syntax_lexer::done().

vcp ht_html_syntax_lexer::getcolor_syntax UINT  pal_index  )  [virtual]
 

Implements ht_syntax_lexer.

Definition at line 583 of file syntax.cc.

References UINT, VC_BLUE, VC_LIGHT, VC_TRANSPARENT, VCP, and vcp.

lexer_token ht_html_syntax_lexer::geterrortoken  )  [virtual]
 

Implements ht_syntax_lexer.

Definition at line 589 of file syntax.cc.

References LEX_HTMLTOK_ERROR, and lexer_token.

lexer_state ht_html_syntax_lexer::getinitstate  )  [virtual]
 

Implements ht_syntax_lexer.

Definition at line 594 of file syntax.cc.

References LEX_HTMLST_NORMAL, and lexer_state.

char * ht_html_syntax_lexer::getname  )  [virtual]
 

Implements ht_syntax_lexer.

Definition at line 599 of file syntax.cc.

lexer_token ht_html_syntax_lexer::gettoken void *  buf,
UINT  buflen,
text_pos  p,
bool  start_of_line,
lexer_state ret_state,
UINT ret_len
[virtual]
 

Reimplemented from ht_lang_syntax_lexer.

Definition at line 604 of file syntax.cc.

References buf, ht_lang_syntax_lexer::gettoken(), lexer_state, lexer_token, and UINT.

vcp ht_html_syntax_lexer::gettoken_color lexer_token  t  )  [virtual]
 

Implements ht_syntax_lexer.

Definition at line 615 of file syntax.cc.

References LEX_HTMLTOK_ATTRIBUTE, LEX_HTMLTOK_CDATA, LEX_HTMLTOK_COMMENT, LEX_HTMLTOK_ENTITY, LEX_HTMLTOK_ERROR, LEX_HTMLTOK_NORMAL, LEX_HTMLTOK_SYMBOL, LEX_HTMLTOK_TAG, LEX_HTMLTOK_WHITESPACE, lexer_token, VC_BLACK, VC_GREEN, VC_LIGHT, VC_MAGENTA, VC_RED, VC_TRANSPARENT, VC_WHITE, VC_YELLOW, VCP, and vcp.

void ht_html_syntax_lexer::init  ) 
 

Reimplemented from Object.

Definition at line 555 of file syntax.cc.

References config_changed(), html_syntax_lexer_rules, and Object::init().

Referenced by ht_app::init().

void ht_html_syntax_lexer::reloadpalette  )  [protected]
 

Definition at line 631 of file syntax.cc.

Referenced by config_changed().


Member Data Documentation

palette ht_html_syntax_lexer::html_pal [protected]
 

Definition at line 133 of file syntax.h.

UINT ht_html_syntax_lexer::html_reserved_count [protected]
 

Definition at line 131 of file syntax.h.

char** ht_html_syntax_lexer::html_reserved_sorted [protected]
 

Definition at line 130 of file syntax.h.


The documentation for this class was generated from the following files:
Generated on Fri May 7 21:15:59 2004 by doxygen 1.3.5