Libcroco
Data Fields
_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. More...
 
CRSelectornext
 The next selector list element. More...
 
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

◆ location

CRParsingLocation _CRSelector::location

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

◆ next

CRSelector* _CRSelector::next

The next selector list element.

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

◆ prev

CRSelector* _CRSelector::prev

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

◆ ref_count

glong _CRSelector::ref_count

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

◆ simple_sel

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.


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