Libcroco
|
Go to the source code of this file.
The definition of the CRToken class. Abstracts a css2 token.
Definition in file cr-token.c.
void cr_token_destroy | ( | CRToken * | a_this | ) |
The destructor of the CRToken class.
a_this | the current instance of CRToken. |
Definition at line 629 of file cr-token.c.
Referenced by cr_parser_parse_charset(), cr_parser_parse_font_face(), cr_parser_parse_media(), cr_parser_parse_page(), cr_parser_try_to_skip_spaces_and_comments(), cr_tknzr_consume_chars(), cr_tknzr_destroy(), cr_tknzr_get_cur_byte_addr(), cr_tknzr_get_cur_pos(), cr_tknzr_get_nb_bytes_left(), cr_tknzr_peek_byte(), cr_tknzr_peek_char(), cr_tknzr_read_char(), cr_tknzr_seek_index(), and cr_tknzr_set_cur_pos().
CRToken* cr_token_new | ( | void | ) |
Default constructor of the CRToken class.
Definition at line 134 of file cr-token.c.
References cr_utils_trace_info.
enum CRStatus cr_token_set_angle | ( | CRToken * | a_this, |
CRNum * | a_num, | ||
enum CRTokenExtraType | a_et | ||
) |
Definition at line 432 of file cr-token.c.
References CR_BAD_PARAM_ERROR.
Definition at line 377 of file cr-token.c.
References CR_BAD_PARAM_ERROR.
Definition at line 613 of file cr-token.c.
References CR_BAD_PARAM_ERROR.
Definition at line 601 of file cr-token.c.
References CR_BAD_PARAM_ERROR.
Definition at line 565 of file cr-token.c.
References CR_BAD_PARAM_ERROR.
Definition at line 553 of file cr-token.c.
References CR_BAD_PARAM_ERROR.
Sets the type of the current token to CDC_TK (CDC as said by the css2 spec).
a_this | the current instance of CRToken. |
Definition at line 196 of file cr-token.c.
References CR_BAD_PARAM_ERROR.
Sets the type of the current instance of CRToken to 'CDO_TK' (CDO as said by the css2 spec)
a_this | the current instance of CRToken. |
Definition at line 177 of file cr-token.c.
References CR_BAD_PARAM_ERROR.
Definition at line 366 of file cr-token.c.
References CR_BAD_PARAM_ERROR.
Definition at line 246 of file cr-token.c.
References CR_BAD_PARAM_ERROR.
Sets the type of the current instance of CRToken to DASHMATCH_TK (DASHMATCH as said by the css2 spec).
a_this | the current instance of CRToken. |
Definition at line 234 of file cr-token.c.
References CR_BAD_PARAM_ERROR.
Definition at line 528 of file cr-token.c.
References CR_BAD_PARAM_ERROR.
Definition at line 477 of file cr-token.c.
References CR_BAD_PARAM_ERROR.
Definition at line 397 of file cr-token.c.
References CR_BAD_PARAM_ERROR.
Definition at line 407 of file cr-token.c.
References CR_BAD_PARAM_ERROR.
Definition at line 355 of file cr-token.c.
References CR_BAD_PARAM_ERROR.
enum CRStatus cr_token_set_freq | ( | CRToken * | a_this, |
CRNum * | a_num, | ||
enum CRTokenExtraType | a_et | ||
) |
Definition at line 462 of file cr-token.c.
References CR_BAD_PARAM_ERROR.
Definition at line 283 of file cr-token.c.
References CR_BAD_PARAM_ERROR.
Definition at line 295 of file cr-token.c.
References CR_BAD_PARAM_ERROR.
Definition at line 271 of file cr-token.c.
References CR_BAD_PARAM_ERROR.
Definition at line 319 of file cr-token.c.
References CR_BAD_PARAM_ERROR.
Definition at line 388 of file cr-token.c.
References CR_BAD_PARAM_ERROR.
Sets the type of the current instance of CRToken to INCLUDES_TK (INCLUDES as said by the css2 spec).
a_this | the current instance of CRToken. |
Definition at line 215 of file cr-token.c.
References CR_BAD_PARAM_ERROR.
enum CRStatus cr_token_set_length | ( | CRToken * | a_this, |
CRNum * | a_num, | ||
enum CRTokenExtraType | a_et | ||
) |
Definition at line 417 of file cr-token.c.
References CR_BAD_PARAM_ERROR.
Definition at line 343 of file cr-token.c.
References CR_BAD_PARAM_ERROR.
Definition at line 503 of file cr-token.c.
References CR_BAD_PARAM_ERROR.
Definition at line 331 of file cr-token.c.
References CR_BAD_PARAM_ERROR.
Definition at line 589 of file cr-token.c.
References CR_BAD_PARAM_ERROR.
Definition at line 490 of file cr-token.c.
References CR_BAD_PARAM_ERROR.
Definition at line 577 of file cr-token.c.
References CR_BAD_PARAM_ERROR.
Definition at line 307 of file cr-token.c.
References CR_BAD_PARAM_ERROR.
Sets the type of curren instance of CRToken to 'S_TK' (S in the css2 spec)
a_this | the current instance of CRToken. |
Definition at line 158 of file cr-token.c.
References CR_BAD_PARAM_ERROR.
Definition at line 541 of file cr-token.c.
References CR_BAD_PARAM_ERROR.
Definition at line 257 of file cr-token.c.
References CR_BAD_PARAM_ERROR.
enum CRStatus cr_token_set_time | ( | CRToken * | a_this, |
CRNum * | a_num, | ||
enum CRTokenExtraType | a_et | ||
) |
Definition at line 447 of file cr-token.c.
References CR_BAD_PARAM_ERROR.
Definition at line 515 of file cr-token.c.
References CR_BAD_PARAM_ERROR.