_CRStatement Struct Reference

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.
union {
   CRRuleSet *   ruleset
   CRAtImportRule *   import_rule
   CRAtMediaRule *   media_rule
   CRAtPageRule *   page_rule
   CRAtCharsetRule *   charset_rule
   CRAtFontFaceRule *   font_face_rule
kind
gulong specificity
CRStyleSheetparent_sheet
CRStatementnext
CRStatementprev
CRParsingLocation location
gpointer app_data
 a custom pointer useable by applications that use libcroco.
gpointer croco_data
 a custom pointer used by the upper layers of libcroco.


Detailed Description

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.


Field Documentation

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_at_charset_rule_get_charset(), cr_statement_at_charset_rule_set_charset(), and 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(), cr_statement_at_font_face_rule_add_decl(), cr_statement_at_font_face_rule_get_decls(), cr_statement_at_font_face_rule_set_decls(), 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_at_import_rule_get_imported_sheet(), cr_statement_at_import_rule_get_url(), cr_statement_at_import_rule_set_imported_sheet(), cr_statement_at_import_rule_set_url(), 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_charset_rule_set_charset(), cr_statement_at_font_face_rule_add_decl(), cr_statement_at_font_face_rule_get_decls(), cr_statement_at_font_face_rule_set_decls(), cr_statement_at_import_rule_get_imported_sheet(), cr_statement_at_import_rule_get_url(), cr_statement_at_import_rule_set_imported_sheet(), cr_statement_at_import_rule_set_url(), cr_statement_at_media_get_from_list(), cr_statement_at_media_nr_rules(), cr_statement_at_page_rule_get_declarations(), cr_statement_at_page_rule_set_declarations(), 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(), cr_statement_new_ruleset(), cr_statement_ruleset_append_decl(), cr_statement_ruleset_append_decl2(), cr_statement_ruleset_get_declarations(), cr_statement_ruleset_get_sel_list(), cr_statement_ruleset_set_decl_list(), and cr_statement_ruleset_set_sel_list().

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_media_get_from_list(), 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_destroy(), cr_statement_get_from_list(), 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_at_page_rule_get_declarations(), cr_statement_at_page_rule_set_declarations(), 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_get_parent_sheet(), cr_statement_set_parent_sheet(), and cr_statement_unlink().

CRStatement* _CRStatement::prev
 

Definition at line 213 of file cr-statement.h.

Referenced by cr_statement_append(), 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(), cr_statement_new_ruleset(), cr_statement_ruleset_append_decl(), cr_statement_ruleset_append_decl2(), cr_statement_ruleset_get_declarations(), cr_statement_ruleset_get_sel_list(), cr_statement_ruleset_set_decl_list(), and cr_statement_ruleset_set_sel_list().

gulong _CRStatement::specificity
 

Definition at line 205 of file cr-statement.h.

enum CRStatementType _CRStatement::type
 

The type of the statement.

Definition at line 187 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_charset_rule_set_charset(), cr_statement_at_font_face_rule_add_decl(), cr_statement_at_font_face_rule_get_decls(), cr_statement_at_font_face_rule_set_decls(), cr_statement_at_import_rule_get_imported_sheet(), cr_statement_at_import_rule_get_url(), cr_statement_at_import_rule_set_imported_sheet(), cr_statement_at_import_rule_set_url(), cr_statement_at_media_get_from_list(), cr_statement_at_media_nr_rules(), cr_statement_at_page_rule_get_declarations(), cr_statement_at_page_rule_set_declarations(), 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(), cr_statement_ruleset_append_decl(), cr_statement_ruleset_append_decl2(), cr_statement_ruleset_get_declarations(), cr_statement_ruleset_get_sel_list(), cr_statement_ruleset_set_decl_list(), cr_statement_ruleset_set_sel_list(), and cr_statement_to_string().


The documentation for this struct was generated from the following file:
Generated on Thu Mar 9 19:18:52 2006 for Libcroco by  doxygen 1.4.6