Css.RootClassMatcher Class Reference

Detailed Description

Handles .class.

Inheritance diagram for Css.RootClassMatcher:
Css.RootMatcher Css.SelectorMatcher

Public Member Functions

override bool TryMatch (Dom.Node context)
 Checks if the given node matches this root/local. More...
 
- Public Member Functions inherited from Css.RootMatcher
void SetLocals (List< LocalMatcher > locals)
 Sets the local matchers. More...
 
bool Equals (RootMatcher rm)
 True if the given root matchers are equal. More...
 
override string ToString ()
 Gets a string of all the local matchers. More...
 

Properties

override string StyleText [get]
 
override int RootSpecifity [get]
 
string Class [get, set]
 The case sensitive class. More...
 
- Properties inherited from Css.RootMatcher
virtual string StyleText [get]
 The text as it's seen in a stylesheet. E.g. ID. More...
 
int Specifity [get]
 The specifity. Add it to other roots to get the selectors specifity. More...
 
virtual int RootSpecifity [get]
 This matchers specifity. More...
 

Additional Inherited Members

- Public Attributes inherited from Css.RootMatcher
string Text
 The ID/Class/Tag. More...
 
bool IsTarget
 True if this root is the target. More...
 
LocalMatcher[] LocalMatchers
 Each root can have an optional collection of 'local' matchers. These will typically originate from pseudo-classes as well as the attribute selector. Things like :hover or :checked; they're local matchers. More...
 
StructureMatcher NextMatcher
 The structure matcher between this and the following root, if any. More...
 
StructureMatcher PreviousMatcher
 The structure matcher between this and the previous root, if any. More...
 

Member Function Documentation

override bool Css.RootClassMatcher.TryMatch ( Dom.Node  context)
inlinevirtual

Checks if the given node matches this root/local.

Reimplemented from Css.SelectorMatcher.

Property Documentation

string Css.RootClassMatcher.Class
getset

The case sensitive class.

override int Css.RootClassMatcher.RootSpecifity
getprotected
override string Css.RootClassMatcher.StyleText
get