Css.RootTagMatcher Class Reference

Detailed Description

Handles tags.

Inheritance diagram for Css.RootTagMatcher:
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 int RootSpecifity [get]
 
string Tag [get, set]
 The case insensitive tag. 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.RootTagMatcher.TryMatch ( Dom.Node  context)
inlinevirtual

Checks if the given node matches this root/local.

Reimplemented from Css.SelectorMatcher.

Property Documentation

override int Css.RootTagMatcher.RootSpecifity
getprotected
string Css.RootTagMatcher.Tag
getset

The case insensitive tag.