SelectorPart

Parts of the CSS selector implementation

Members

Functions

matchElement
bool matchElement(Element e, Element scopeElementNow)

Returns true if the given element matches this part

toString
string toString()

.

Variables

attributesEndsWith
string[2][] attributesEndsWith;

[attr$=value]

attributesEqual
string[2][] attributesEqual;

[attr=value]

attributesInclude
string[2][] attributesInclude;

[attr*=value]

attributesIncludesSeparatedByDashes
string[2][] attributesIncludesSeparatedByDashes;

=value

attributesIncludesSeparatedBySpaces
string[2][] attributesIncludesSeparatedBySpaces;

[attr~=value]

attributesNotEqual
string[2][] attributesNotEqual;

[attr!=value] -- extension by me

attributesPresent
string[] attributesPresent;

attr

attributesStartsWith
string[2][] attributesStartsWith;

[attr^=value]

emptyElement
bool emptyElement;

.

evenChild
bool evenChild;

.

firstChild
bool firstChild;

.

firstOfType
bool firstOfType;

.

hasSelectors
string[] hasSelectors;

:has(this)

isSelectors
string[] isSelectors;

:is(this)

lastChild
bool lastChild;

.

lastOfType
bool lastOfType;

.

notSelectors
string[] notSelectors;

:not(this)

nthChild
ParsedNth[] nthChild;

.

nthLastOfType
ParsedNth[] nthLastOfType;

.

nthOfType
ParsedNth[] nthOfType;

.

oddChild
bool oddChild;

.

rootElement
bool rootElement;

.

scopeElement
bool scopeElement;

the css :scope thing; matches just the this element. NOT IMPLEMENTED

separation
int separation;

-1 == only itself; the null selector, 0 == tree, 1 == childNodes, 2 == childAfter, 3 == youngerSibling, 4 == parentOf

tagNameFilter
string tagNameFilter;

.

whereSelectors
string[] whereSelectors;

:where(this)

whitespaceOnly
bool whitespaceOnly;

Meta