Vixen
02b45cc4
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 (8)

  • 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 bool SharingIsSound

    Whether the style-sharing cache may be used at all with this rule set.

  • public StyleRule this[int rule]

    A rule.

Methods (3)

Used by (8)

  • CascadeOrderTestsVixen.Ui.Styling.Tests
  • IncrementalRestyleOracleTestsVixen.Ui.Styling.Tests
  • StyleEngineVixen.Ui.Styling
  • StyleInvalidatorVixen.Ui.Styling
  • StyleResolverVixen.Ui.Styling
  • StyleSharingOracleTestsVixen.Ui.Styling.Tests
  • StyleSheetLoaderVixen.Ui.Styling
  • StyleSheetLoadingTestsVixen.Ui.Styling.Tests