Libcroco Reference Manual | ||||
---|---|---|---|---|
Top | Description |
struct CRToken; void cr_token_destroy (CRToken *a_this
); CRToken * cr_token_new (void
); enum CRStatus cr_token_set_angle (CRToken *a_this
,CRNum *a_num
,enum CRTokenExtraType a_et
); enum CRStatus cr_token_set_atkeyword (CRToken *a_this
,CRString *a_atname
); enum CRStatus cr_token_set_bc (CRToken *a_this
); enum CRStatus cr_token_set_bo (CRToken *a_this
); enum CRStatus cr_token_set_cbc (CRToken *a_this
); enum CRStatus cr_token_set_cbo (CRToken *a_this
); enum CRStatus cr_token_set_cdc (CRToken *a_this
); enum CRStatus cr_token_set_cdo (CRToken *a_this
); enum CRStatus cr_token_set_charset_sym (CRToken *a_this
); enum CRStatus cr_token_set_comment (CRToken *a_this
,CRString *a_str
); enum CRStatus cr_token_set_dashmatch (CRToken *a_this
); enum CRStatus cr_token_set_delim (CRToken *a_this
,guint32 a_char
); enum CRStatus cr_token_set_dimen (CRToken *a_this
,CRNum *a_num
,CRString *a_dim
); enum CRStatus cr_token_set_ems (CRToken *a_this
,CRNum *a_num
); enum CRStatus cr_token_set_exs (CRToken *a_this
,CRNum *a_num
); enum CRStatus cr_token_set_font_face_sym (CRToken *a_this
); enum CRStatus cr_token_set_freq (CRToken *a_this
,CRNum *a_num
,enum CRTokenExtraType a_et
); enum CRStatus cr_token_set_function (CRToken *a_this
,CRString *a_fun_name
); enum CRStatus cr_token_set_hash (CRToken *a_this
,CRString *a_hash
); enum CRStatus cr_token_set_ident (CRToken *a_this
,CRString *a_ident
); enum CRStatus cr_token_set_import_sym (CRToken *a_this
); enum CRStatus cr_token_set_important_sym (CRToken *a_this
); enum CRStatus cr_token_set_includes (CRToken *a_this
); enum CRStatus cr_token_set_length (CRToken *a_this
,CRNum *a_num
,enum CRTokenExtraType a_et
); enum CRStatus cr_token_set_media_sym (CRToken *a_this
); enum CRStatus cr_token_set_number (CRToken *a_this
,CRNum *a_num
); enum CRStatus cr_token_set_page_sym (CRToken *a_this
); enum CRStatus cr_token_set_pc (CRToken *a_this
); enum CRStatus cr_token_set_percentage (CRToken *a_this
,CRNum *a_num
); enum CRStatus cr_token_set_po (CRToken *a_this
); enum CRStatus cr_token_set_rgb (CRToken *a_this
,CRRgb *a_rgb
); enum CRStatus cr_token_set_s (CRToken *a_this
); enum CRStatus cr_token_set_semicolon (CRToken *a_this
); enum CRStatus cr_token_set_string (CRToken *a_this
,CRString *a_str
); enum CRStatus cr_token_set_time (CRToken *a_this
,CRNum *a_num
,enum CRTokenExtraType a_et
); enum CRStatus cr_token_set_uri (CRToken *a_this
,CRString *a_uri
);
struct CRToken { enum CRTokenType type ; enum CRTokenExtraType extra_type ; CRInputPos pos ; union { CRString *str ; CRRgb *rgb ; CRNum *num ; guint32 unichar ; } u ; CRString * dimen ; CRParsingLocation location ; };
enum CRStatus cr_token_set_angle (CRToken *a_this
,CRNum *a_num
,enum CRTokenExtraType a_et
);
enum CRStatus cr_token_set_atkeyword (CRToken *a_this
,CRString *a_atname
);
enum CRStatus cr_token_set_dimen (CRToken *a_this
,CRNum *a_num
,CRString *a_dim
);
enum CRStatus cr_token_set_freq (CRToken *a_this
,CRNum *a_num
,enum CRTokenExtraType a_et
);
enum CRStatus cr_token_set_function (CRToken *a_this
,CRString *a_fun_name
);
enum CRStatus cr_token_set_length (CRToken *a_this
,CRNum *a_num
,enum CRTokenExtraType a_et
);
enum CRStatus cr_token_set_time (CRToken *a_this
,CRNum *a_num
,enum CRTokenExtraType a_et
);