ELinks 0.18.0
|
DOM scanner token. More...
#include <scanner.h>
Data Fields | |
int | type |
The type the token. | |
int | precedence |
Some precedence value. | |
unsigned int | lineno |
The line number; used for error tokens. | |
struct dom_string | string |
The start of the token string and the token length. | |
DOM scanner token.
This struct describes one scanner state. There are two kinds of tokens: char and non-char tokens. Char tokens contains only one char and simply have their char value as type. They are tokens having special control meaning in the code, like ':', ';', '{', '}' and '*'. Non-char tokens have one or more chars and contain stuff like number or indentifier strings.
unsigned int dom_scanner_token::lineno |
The line number; used for error tokens.
int dom_scanner_token::precedence |
Some precedence value.
struct dom_string dom_scanner_token::string |
The start of the token string and the token length.
int dom_scanner_token::type |
The type the token.