|
Libcroco
|
The abstraction of css statement as defined in the chapter 4 and appendix D.1 of the css2 spec. More...
#include <cr-statement.h>
Data Fields | |
| enum CRStatementType | type |
| The type of the statement. More... | |
| union { | |
| CRRuleSet * ruleset | |
| CRAtImportRule * import_rule | |
| CRAtMediaRule * media_rule | |
| CRAtPageRule * page_rule | |
| CRAtCharsetRule * charset_rule | |
| CRAtFontFaceRule * font_face_rule | |
| } | kind |
| gulong | specificity |
| CRStyleSheet * | parent_sheet |
| CRStatement * | next |
| CRStatement * | prev |
| CRParsingLocation | location |
| gpointer | app_data |
| a custom pointer useable by applications that use libcroco. More... | |
| gpointer | croco_data |
| a custom pointer used by the upper layers of libcroco. More... | |
The abstraction of css statement as defined in the chapter 4 and appendix D.1 of the css2 spec.
A statement is actually a double chained list of statements.A statement can be a ruleset, an @import rule, an @page rule etc ...
Definition at line 182 of file cr-statement.h.
| gpointer _CRStatement::app_data |
a custom pointer useable by applications that use libcroco.
libcroco itself will never modify this pointer.
Definition at line 223 of file cr-statement.h.
| CRAtCharsetRule* _CRStatement::charset_rule |
Definition at line 195 of file cr-statement.h.
Referenced by cr_statement_new_at_charset_rule().
| gpointer _CRStatement::croco_data |
a custom pointer used by the upper layers of libcroco.
application should never use this pointer.
Definition at line 231 of file cr-statement.h.
| CRAtFontFaceRule* _CRStatement::font_face_rule |
Definition at line 196 of file cr-statement.h.
Referenced by cr_declaration_unlink(), and cr_statement_new_at_font_face_rule().
| CRAtImportRule* _CRStatement::import_rule |
Definition at line 192 of file cr-statement.h.
Referenced by cr_statement_dump_import_rule(), and cr_statement_new_at_import_rule().
| union { ... } _CRStatement::kind |
Referenced by cr_declaration_unlink(), cr_statement_at_charset_rule_get_charset(), cr_statement_at_media_nr_rules(), cr_statement_dump_import_rule(), cr_statement_dump_page(), cr_statement_new_at_charset_rule(), cr_statement_new_at_font_face_rule(), cr_statement_new_at_import_rule(), cr_statement_new_at_media_rule(), cr_statement_new_at_page_rule(), and cr_statement_new_ruleset().
| CRParsingLocation _CRStatement::location |
Definition at line 215 of file cr-statement.h.
Referenced by cr_statement_at_import_rule_parse_from_buf().
| CRAtMediaRule* _CRStatement::media_rule |
Definition at line 193 of file cr-statement.h.
Referenced by cr_statement_at_charset_rule_get_charset(), cr_statement_at_media_nr_rules(), cr_statement_new_at_media_rule(), and cr_statement_new_ruleset().
| CRStatement* _CRStatement::next |
Definition at line 212 of file cr-statement.h.
Referenced by cr_statement_append(), cr_statement_at_import_rule_get_imported_sheet(), cr_statement_destroy(), cr_statement_list_to_string(), cr_statement_new_at_media_rule(), cr_statement_nr_rules(), cr_statement_prepend(), cr_statement_unlink(), and cr_stylesheet_to_string().
| CRAtPageRule* _CRStatement::page_rule |
Definition at line 194 of file cr-statement.h.
Referenced by cr_declaration_unlink(), cr_statement_dump_page(), and cr_statement_new_at_page_rule().
| CRStyleSheet* _CRStatement::parent_sheet |
Definition at line 211 of file cr-statement.h.
Referenced by cr_statement_unlink().
| CRStatement* _CRStatement::prev |
Definition at line 213 of file cr-statement.h.
Referenced by cr_statement_append(), cr_statement_list_to_string(), cr_statement_prepend(), cr_statement_unlink(), and cr_stylesheet_to_string().
| CRRuleSet* _CRStatement::ruleset |
Definition at line 191 of file cr-statement.h.
Referenced by cr_declaration_unlink(), and cr_statement_new_ruleset().
| gulong _CRStatement::specificity |
Definition at line 205 of file cr-statement.h.
| enum CRStatementType _CRStatement::type |
The type of the statement.
Definition at line 137 of file cr-statement.h.
Referenced by cr_declaration_new(), cr_declaration_parse_from_buf(), cr_declaration_unlink(), cr_statement_at_charset_rule_get_charset(), cr_statement_at_media_nr_rules(), cr_statement_dump_charset(), cr_statement_dump_font_face_rule(), cr_statement_dump_import_rule(), cr_statement_dump_media_rule(), cr_statement_dump_page(), cr_statement_new_at_charset_rule(), cr_statement_new_at_font_face_rule(), cr_statement_new_at_import_rule(), cr_statement_new_at_media_rule(), cr_statement_new_at_page_rule(), cr_statement_new_ruleset(), and cr_statement_to_string().