ELinks 0.18.0
|
DOM scanner info. More...
#include <scanner.h>
Data Fields | |
const struct dom_scanner_string_mapping * | mappings |
Table containing how to map strings to token types. | |
const struct dom_scan_table_info * | scan_table_info |
Information for how to initialize the scanner table. | |
struct dom_scanner_token *(* | scan )(struct dom_scanner *scanner) |
Fills the scanner with tokens. | |
int | scan_table [DOM_SCAN_TABLE_SIZE] |
The scanner table. | |
unsigned int | initialized:1 |
Has the scanner info been initialized? |
DOM scanner info.
Backend-specific information used during the actual scanning and by the front end to fill the token table on-demand, etc.
unsigned int dom_scanner_info::initialized |
Has the scanner info been initialized?
const struct dom_scanner_string_mapping* dom_scanner_info::mappings |
Table containing how to map strings to token types.
struct dom_scanner_token *(* dom_scanner_info::scan) (struct dom_scanner *scanner) |
Fills the scanner with tokens.
Already scanned tokens which have not been requested remain and are moved to the start of the scanners token table. Returns the current token or NULL if there are none.
int dom_scanner_info::scan_table[DOM_SCAN_TABLE_SIZE] |
The scanner table.
Contains bitmaps for the various characters groups. Idea sync'ed from mozilla browser.
const struct dom_scan_table_info* dom_scanner_info::scan_table_info |
Information for how to initialize the scanner table.