csharp
public sealed class SelectorTableThe flat arrays every compiled selector points into.
No guide page documents this yet — the page shows what the code says about itself.
Remarks
A selector is a tree — compounds holding simple selectors, some of which hold whole nested selector lists for :is() and :not(). Storing it as one it would be an object per node, and a stylesheet has thousands of them. Three growable lists and a pair of indices per level says the same thing with no per-node object and with the parts of a selector that are walked together sitting next to each other.
Fields and properties (3)
public int CompoundCountHow many compounds have been recorded.
public int SimpleCountHow many simple selectors have been recorded.
public int NestedCountHow many nested selectors have been recorded.
Used by (7)
- RuleIndexVixen.Ui.Styling
- SelectorCompilerVixen.Ui.Styling
- SelectorMatcherVixen.Ui.Styling
- StyleEngineVixen.Ui.Styling
- StyleFixtureVixen.Ui.Styling.Tests
- StyleInvalidatorVixen.Ui.Styling
- StyleRuleSetVixen.Ui.Styling