api
CSSLexer.ch
Declarations in CSSLexer.ch
3 declarationscss_parser
Declarations
Public only
CSSLexerWhere#
Publicenum
enum CSSLexerWhere {
Selector,
Declaration,
Value
}
CSSLexer#
Publicstruct
struct CSSLexer {
var other_mode : bool
var chemical_mode : bool
var lb_count : uchar
var at_rule : bool
var start_chemical_lb_count : uchar
var has_chemical_in_value : bool
var tokens_since_colon : uchar
var where_state : CSSLexerWhere
}
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