|
Libcroco
|
#include "cr-utils.h"#include "cr-input.h"#include "cr-num.h"#include "cr-rgb.h"#include "cr-string.h"#include "cr-parsing-location.h"Go to the source code of this file.
Data Structures | |
| struct | _CRToken |
| This class abstracts a css2 token. More... | |
Typedefs | |
| typedef struct _CRToken | CRToken |
Enumerations | |
| enum | CRTokenType { NO_TK , S_TK , CDO_TK , CDC_TK , INCLUDES_TK , DASHMATCH_TK , COMMENT_TK , STRING_TK , IDENT_TK , HASH_TK , IMPORT_SYM_TK , PAGE_SYM_TK , MEDIA_SYM_TK , FONT_FACE_SYM_TK , CHARSET_SYM_TK , ATKEYWORD_TK , IMPORTANT_SYM_TK , EMS_TK , EXS_TK , LENGTH_TK , ANGLE_TK , TIME_TK , FREQ_TK , DIMEN_TK , PERCENTAGE_TK , NUMBER_TK , RGB_TK , URI_TK , FUNCTION_TK , UNICODERANGE_TK , SEMICOLON_TK , CBO_TK , CBC_TK , PO_TK , PC_TK , BO_TK , BC_TK , DELIM_TK } |
| enum | CRTokenExtraType { NO_ET = 0 , LENGTH_PX_ET , LENGTH_CM_ET , LENGTH_MM_ET , LENGTH_IN_ET , LENGTH_PT_ET , LENGTH_PC_ET , ANGLE_DEG_ET , ANGLE_RAD_ET , ANGLE_GRAD_ET , TIME_MS_ET , TIME_S_ET , FREQ_HZ_ET , FREQ_KHZ_ET } |
Definition at line 34 of file cr-token.h.
| enum CRTokenExtraType |
| Enumerator | |
|---|---|
| NO_ET | |
| LENGTH_PX_ET | |
| LENGTH_CM_ET | |
| LENGTH_MM_ET | |
| LENGTH_IN_ET | |
| LENGTH_PT_ET | |
| LENGTH_PC_ET | |
| ANGLE_DEG_ET | |
| ANGLE_RAD_ET | |
| ANGLE_GRAD_ET | |
| TIME_MS_ET | |
| TIME_S_ET | |
| FREQ_HZ_ET | |
| FREQ_KHZ_ET | |
Definition at line 78 of file cr-token.h.
| enum CRTokenType |
Definition at line 36 of file cr-token.h.
| 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_tknzr_consume_chars(), and cr_tknzr_destroy().
| 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 134 of file cr-token.c.
Definition at line 134 of file cr-token.c.
Definition at line 134 of file cr-token.c.
Definition at line 134 of file cr-token.c.
Definition at line 134 of file cr-token.c.
Definition at line 134 of file cr-token.c.
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 134 of file cr-token.c.
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 134 of file cr-token.c.
Definition at line 134 of file cr-token.c.
Definition at line 134 of file cr-token.c.
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 134 of file cr-token.c.
Definition at line 134 of file cr-token.c.
Definition at line 134 of file cr-token.c.
Definition at line 134 of file cr-token.c.
Definition at line 134 of file cr-token.c.
Definition at line 134 of file cr-token.c.
| enum CRStatus cr_token_set_freq | ( | CRToken * | a_this, |
| CRNum * | a_num, | ||
| enum CRTokenExtraType | a_et | ||
| ) |
Definition at line 134 of file cr-token.c.
Definition at line 134 of file cr-token.c.
Definition at line 134 of file cr-token.c.
Definition at line 134 of file cr-token.c.
Definition at line 134 of file cr-token.c.
Definition at line 134 of file cr-token.c.
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 134 of file cr-token.c.
| enum CRStatus cr_token_set_length | ( | CRToken * | a_this, |
| CRNum * | a_num, | ||
| enum CRTokenExtraType | a_et | ||
| ) |
Definition at line 134 of file cr-token.c.
Definition at line 134 of file cr-token.c.
Definition at line 134 of file cr-token.c.
Definition at line 134 of file cr-token.c.
Definition at line 134 of file cr-token.c.
Definition at line 134 of file cr-token.c.
Definition at line 134 of file cr-token.c.
Definition at line 134 of file cr-token.c.
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 134 of file cr-token.c.
Definition at line 134 of file cr-token.c.
Definition at line 134 of file cr-token.c.
| enum CRStatus cr_token_set_time | ( | CRToken * | a_this, |
| CRNum * | a_num, | ||
| enum CRTokenExtraType | a_et | ||
| ) |
Definition at line 134 of file cr-token.c.
Definition at line 134 of file cr-token.c.