#include <cr-simple-sel.h>
Data Fields | |
enum SimpleSelectorType | type_mask |
gboolean | is_case_sentive |
CRString * | name |
enum Combinator | combinator |
The combinator that separates this simple selector from the previous one. | |
CRAdditionalSel * | add_sel |
The additional selector list of the current simple selector. | |
gulong | specificity |
CRSimpleSel * | next |
CRSimpleSel * | prev |
CRParsingLocation | location |
It is basically a list of simple selector, each simple selector being separated by a combinator.
In the libcroco's implementation, each simple selector is made of at most two parts:
1/An element name or 'type selector' (which can hold a '*' and then been called 'universal selector')
2/An additional selector that "specializes" the preceding type or universal selector. The additionnal selector can be either an id selector, or a class selector, or an attribute selector.
Definition at line 74 of file cr-simple-sel.h.
gboolean _CRSimpleSel::is_case_sentive |
Definition at line 77 of file cr-simple-sel.h.
Definition at line 78 of file cr-simple-sel.h.
Referenced by cr_simple_sel_compute_specificity(), cr_simple_sel_destroy(), cr_simple_sel_one_to_string(), and cr_simple_sel_to_string().
The combinator that separates this simple selector from the previous one.
Definition at line 84 of file cr-simple-sel.h.
Referenced by cr_simple_sel_to_string().
The additional selector list of the current simple selector.
An additional selector may be a class selector, an id selector, or an attribute selector. Note that this field is a linked list.
Definition at line 94 of file cr-simple-sel.h.
Referenced by cr_simple_sel_compute_specificity(), cr_simple_sel_destroy(), cr_simple_sel_one_to_string(), and cr_simple_sel_to_string().
gulong _CRSimpleSel::specificity |
Definition at line 102 of file cr-simple-sel.h.
Referenced by cr_simple_sel_append_simple_sel(), cr_simple_sel_compute_specificity(), cr_simple_sel_destroy(), cr_simple_sel_prepend_simple_sel(), and cr_simple_sel_to_string().
Definition at line 103 of file cr-simple-sel.h.
Referenced by cr_simple_sel_append_simple_sel(), and cr_simple_sel_prepend_simple_sel().
Definition at line 104 of file cr-simple-sel.h.