Vixen
dd8b0a81
csharp
public sealed class StyleRuleSet

Every rule that has been loaded, indexed and ready to cascade.

No guide page documents this yet — the page shows what the code says about itself.

Remarks

The rule index buckets by the rightmost compound and hands an element single digits' worth of candidates; this holds what those candidates are, which the matcher never needed to know.

Rules from every origin live in one list and one index. They have to: an element's candidates are found once, and separating the origins would mean three lookups and three blooms to save a comparison that CascadePrecedence does anyway.

Fields and properties (7)

  • public NameTable Names

    The table selector names are interned in.

  • public NameTable Properties

    The table property names are interned in.

  • public NameTable Values

    The table declaration values are interned in.

  • public RuleIndex Index

    The bucketed index over these rules.

  • public CascadeLayers Layers

    The layers these rules declared.

  • public int Count

    How many rules there are.

  • public StyleRule this[int rule]

    A rule.

Methods (4)

Used by (17)

  • ApplyAtInstallTestsVixen.Ui.Styling.Utilities.Tests
  • CascadeOrderTestsVixen.Ui.Styling.Tests
  • ClassSelectorReachTestsVixen.Ui.Styling.Tests
  • CombinatorPairTestsVixen.Ui.Styling.Tests
  • ContainerQueryTestsVixen.Ui.Styling.Tests
  • HasInvalidationTestsVixen.Ui.Styling.Tests
  • IncrementalRestyleOracleTestsVixen.Ui.Styling.Tests
  • MediaContextTestsVixen.Ui.Tests
  • PerSurfaceMediaTestsVixen.Ui.Tests
  • SelectorMatchingTestsVixen.Ui.Styling.Tests
  • StyleEngineVixen.Ui.Styling
  • StyleInvalidatorVixen.Ui.Styling
  • StyleResolverVixen.Ui.Styling
  • StyleSharingOracleTestsVixen.Ui.Styling.Tests
  • StyleSheetLoaderVixen.Ui.Styling
  • StyleSheetLoadingTestsVixen.Ui.Styling.Tests
  • TypeSelectorReachTestsVixen.Ui.Styling.Tests