Css.StructureMatcher Class Reference

Detailed Description

DOM structure matchers are things like a ~ b. They test if an element structurally matches the selector.

Inheritance diagram for Css.StructureMatcher:
Css.SelectorMatcher Css.DirectParentMatch Css.DirectPreviousSiblingMatch Css.ParentMatch Css.PreviousSiblingMatch

Public Member Functions

virtual void MoveUpwards (CssEvent e)
 Moves e.CurrentNode through the DOM ('backwards', e.g. from something to its parent). More...
 
- Public Member Functions inherited from Css.SelectorMatcher
virtual bool TryMatch (Dom.Node context)
 Checks if the given node matches this root/local. More...
 

Properties

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

virtual void Css.StructureMatcher.MoveUpwards ( CssEvent  e)
inlinevirtual

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

Reimplemented in Css.DirectPreviousSiblingMatch, Css.PreviousSiblingMatch, Css.DirectParentMatch, and Css.ParentMatch.

Property Documentation

virtual bool Css.StructureMatcher.Repeat
get

True if this matcher should be repeatedly moved until it potentially gets a hit.