Css.LocalMatcher Class Reference

Detailed Description

Handles 'local' matches for a particular selector. Note that these are always specific to a particular element and they don't generate psuedo elements either. Examples are :hover, :link etc.

Inheritance diagram for Css.LocalMatcher:
Css.SelectorMatcher Css.AttributeMatch Css.CheckedMatcher Css.DefaultMatcher Css.DisabledMatcher Css.EmptyMatcher Css.EnabledMatcher Css.FirstChildMatcher Css.FocusedMatcher Css.FullscreenMatcher Css.Functions.AnyMatcher Css.Functions.DirMatcher Css.Functions.EqMatcher Css.Functions.GtMatcher Css.Functions.LangMatcher Css.Functions.LtMatcher Css.Functions.NotMatcher Css.Functions.NthChildMatcher Css.Functions.NthLastChildMatcher Css.Functions.NthLastOfTypeMatcher Css.Functions.NthOfTypeMatcher Css.HoverMatcher Css.IndeterminateMatcher Css.InRangeMatcher Css.InvalidMatcher Css.IsRootMatcher Css.IsTargetMatcher Css.Keywords.ActiveMatcher Css.LastChildMatcher Css.LeftMatcher Css.LinkMatcher Css.MainUIMatcher Css.OnlyChildMatcher Css.OnlyOfTypeMatcher Css.OptionalMatcher Css.OutOfRangeMatcher Css.ReadWriteMatcher Css.RequiredMatcher Css.RightMatcher Css.ScopeMatcher Css.ValidMatcher Css.VisitedMatcher Css.WorldUIMatcher

Public Member Functions

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...
 
- Public Member Functions inherited from Css.SelectorMatcher
virtual bool TryMatch (Dom.Node context)
 Checks if the given node matches this root/local. More...
 

Additional Inherited Members

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

Member Function Documentation

virtual void Css.LocalMatcher.AddToDocument ( ReflowDocument  document,
Css.StyleSheet  sheet 
)
inlinevirtual

Adds this matcher to its parent documents caches. This is used by the default style sheet when the document gets cleared.

virtual bool Css.LocalMatcher.Equals ( LocalMatcher  match)
inlinevirtual

True if two local matchers are equal.

Reimplemented in Css.AttributeMatch.

virtual void Css.LocalMatcher.RemoveFromDocument ( ReflowDocument  document,
Css.StyleSheet  sheet 
)
inlinevirtual

Removes this matcher from any document caches.