api

HtmlLexer.ch

Declarations in HtmlLexer.ch

2 declarationshtml_parser

Declarations

Public only
HtmlLexer#
Publicstruct
struct HtmlLexer { var has_lt : bool var lexed_tag_name : bool var is_comment : bool var other_mode : bool var chemical_mode : bool var lb_count : uchar var paren_count : uchar var in_paren_expr : bool var last_token_was_if : bool var chem_start_lb : uchar var expecting_html_block : bool var after_chem_expr : bool var pre_depth : uchar var in_end_tag : bool var last_tag_pre : bool var preserve_whitespace : bool }
the lexer state is represented by this struct, which is created in initializeLexer function this lexer must be able to encode itself into a 16 bit (short) integer
reset#
functionExtension
func reset(lexer : &HtmlLexer) : void