_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

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.

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.

union { ... } _CRStatement::kind

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

Referenced by cr_statement_at_import_rule_parse_from_buf().

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


The documentation for this struct was generated from the following file:

Generated on Wed Jul 8 15:11:39 2009 for Libcroco by  doxygen 1.5.7.1