Css.ParentMatch Class Reference

Detailed Description

Describes if an elements parent matches a selector. Any parent (indirect too) is OK.

Inheritance diagram for Css.ParentMatch:
Css.StructureMatcher Css.SelectorMatcher

Public Member Functions

override void MoveUpwards (CssEvent e)
 Moves e.CurrentNode through the DOM ('backwards', e.g. from something to its parent). More...
 
override string ToString ()
 

Properties

override bool Repeat [get]
 This one can repeat - i.e. it'll keep moving through the structure until it nulls. More...
 
- Properties inherited from Css.StructureMatcher
virtual bool Repeat [get]
 True if this matcher should be repeatedly moved until it potentially gets a hit. More...
 

Additional Inherited Members

- Public Attributes inherited from Css.SelectorMatcher
Selector Selector
 The host selector. More...
 

Member Function Documentation

override void Css.ParentMatch.MoveUpwards ( CssEvent  e)
inlinevirtual

Moves e.CurrentNode through the DOM ('backwards', e.g. from something to its parent).

Reimplemented from Css.StructureMatcher.

override string Css.ParentMatch.ToString ( )
inline

Property Documentation

override bool Css.ParentMatch.Repeat
get

This one can repeat - i.e. it'll keep moving through the structure until it nulls.