Libcroco
Data Fields
_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. More...
 
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. More...
 
gpointer croco_data
 a custom pointer used by the upper layers of libcroco. More...
 

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

◆ app_data

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.

◆ charset_rule

CRAtCharsetRule* _CRStatement::charset_rule

◆ croco_data

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.

◆ font_face_rule

CRAtFontFaceRule* _CRStatement::font_face_rule

◆ import_rule

CRAtImportRule* _CRStatement::import_rule

◆ kind

union { ... } _CRStatement::kind

◆ location

CRParsingLocation _CRStatement::location

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

Referenced by cr_statement_at_import_rule_parse_from_buf().

◆ media_rule

CRAtMediaRule* _CRStatement::media_rule

◆ next

CRStatement* _CRStatement::next

◆ page_rule

CRAtPageRule* _CRStatement::page_rule

◆ parent_sheet

CRStyleSheet* _CRStatement::parent_sheet

◆ prev

CRStatement* _CRStatement::prev

◆ ruleset

CRRuleSet* _CRStatement::ruleset

◆ specificity

gulong _CRStatement::specificity

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

◆ type

enum CRStatementType _CRStatement::type

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