|
libcss
|
Public Attributes | ||
| parserutils_inputstream * | input | |
| size_t | bytesReadForToken | |
| css_token | token | |
| bool | escapeSeen | |
| parserutils_buffer * | unescapedTokenData | |
| unsigned int | state: 4 | |
| unsigned int | substate: 4 | |
| struct { | ||
| uint8_t first | ||
| size_t origBytes | ||
| bool lastWasStar | ||
| bool lastWasCR | ||
| size_t bytesForURL | ||
| size_t dataLenForURL | ||
| int hexCount | ||
| } | context | |
| bool | emit_comments | |
| uint32_t | currentCol | |
| uint32_t | currentLine | |
CSS lexer object
| size_t css_lexer::bytesForURL |
Input bytes read for "url(", for rewinding
| size_t css_lexer::bytesReadForToken |
Total bytes read from the inputstream for the current token
| struct { ... } css_lexer::context |
Context for the current state
| uint32_t css_lexer::currentCol |
Current column in source
| uint32_t css_lexer::currentLine |
Current line in source
| size_t css_lexer::dataLenForURL |
Output length for "url(", for rewinding
| bool css_lexer::emit_comments |
Whether to emit comment tokens
| bool css_lexer::escapeSeen |
Whether an escape sequence has been seen while processing the input for the current token
| uint8_t css_lexer::first |
First character read for token
| int css_lexer::hexCount |
Counter for reading hex digits
| parserutils_inputstream* css_lexer::input |
Inputstream containing CSS
| bool css_lexer::lastWasCR |
Whether the previous character was CR
| bool css_lexer::lastWasStar |
Whether the previous character was an asterisk
| size_t css_lexer::origBytes |
Storage of current number of bytes read, for rewinding
| unsigned int css_lexer::state |
Current state
| unsigned int css_lexer::substate |
Current substate
| css_token css_lexer::token |
The current token
| parserutils_buffer* css_lexer::unescapedTokenData |
Buffer containing unescaped token data (used iff escapeSeen == true)