Css.OnlyChildMatcher Class Reference

Detailed Description

Handles the matching process for :only-child.

Inheritance diagram for Css.OnlyChildMatcher:
Css.LocalMatcher Css.SelectorMatcher

Public Member Functions

override bool TryMatch (Dom.Node node)
 Checks if the given node matches this root/local. More...
 
- Public Member Functions inherited from Css.LocalMatcher
virtual bool Equals (LocalMatcher match)
 True if two local matchers are equal. More...
 
virtual void RemoveFromDocument (ReflowDocument document, Css.StyleSheet sheet)
 Removes this matcher from any document caches. More...
 
virtual void AddToDocument (ReflowDocument document, Css.StyleSheet sheet)
 Adds this matcher to its parent documents caches. This is used by the default style sheet when the document gets cleared. More...
 

Additional Inherited Members

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

Member Function Documentation

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

Checks if the given node matches this root/local.

Reimplemented from Css.SelectorMatcher.