Main Page | Alphabetical List | Data Structures | Directories | File List | Data Fields | Globals | Related Pages

_CRSelector Struct Reference

Abstracts a CSS2 selector as defined in the right part of the 'ruleset" production in the appendix D.1 of the css2 spec. More...

#include <cr-selector.h>


Data Fields

CRSimpleSelsimple_sel
 A Selection expression.
CRSelectornext
 The next selector list element.
CRSelectorprev
CRParsingLocation location
glong ref_count


Detailed Description

Abstracts a CSS2 selector as defined in the right part of the 'ruleset" production in the appendix D.1 of the css2 spec.

It is actually the abstraction of a comma separated list of simple selectors list. In a css2 file, a selector is a list of simple selectors separated by a comma. e.g: sel0, sel1, sel2 ... Each seln is a simple selector

Definition at line 53 of file cr-selector.h.


Field Documentation

CRParsingLocation _CRSelector::location
 

Definition at line 67 of file cr-selector.h.

CRSelector* _CRSelector::next
 

The next selector list element.

Definition at line 65 of file cr-selector.h.

Referenced by cr_selector_append(), and cr_selector_prepend().

CRSelector* _CRSelector::prev
 

Definition at line 66 of file cr-selector.h.

Referenced by cr_selector_append(), and cr_selector_prepend().

glong _CRSelector::ref_count
 

Definition at line 68 of file cr-selector.h.

Referenced by cr_selector_ref(), and cr_selector_unref().

CRSimpleSel* _CRSelector::simple_sel
 

A Selection expression.

It is a list of basic selectors. Each basic selector can be either an element selector, an id selector, a class selector, an attribute selector, an universal selector etc ...

Definition at line 62 of file cr-selector.h.

Referenced by cr_selector_destroy(), and cr_selector_new().


The documentation for this struct was generated from the following file:
Generated on Fri Oct 29 08:29:14 2004 for Libcroco by  doxygen 1.3.9.1