Portals0.7.0 · dev (544a5c68c72e · 2026-11-28 UTC)
Loading...
Searching...
No Matches
portals::PssRuleOrigin Struct Reference

Owning coordinates and occurrence links for one source-order rule. More...

#include <pss_data.hpp>

Public Member Functions

bool operator== (const PssRuleOrigin &other) const =default

Public Attributes

PssLocation selector
 Start of the complete conjunction selector.
std::size_t declarationBegin {}
 First occurrence index in PssDocument::declarations.
std::size_t declarationCount {}
 Number of occurrences, including overwritten duplicates.
std::array< std::size_t, PSS_PROPERTY_COUNT > effectiveDeclaration
 Last occurrence for each property, or NO_PSS_DECLARATION.

Detailed Description

Owning coordinates and occurrence links for one source-order rule.

Member Function Documentation

◆ operator==()

bool portals::PssRuleOrigin::operator== ( const PssRuleOrigin & other) const
default
Parameters
otherRule origin to compare.
Returns
Whether coordinates and occurrence relationships agree.

Member Data Documentation

◆ effectiveDeclaration

std::array<std::size_t, PSS_PROPERTY_COUNT> portals::PssRuleOrigin::effectiveDeclaration
Initial value:
= [] {
std::array<std::size_t, PSS_PROPERTY_COUNT> result{};
result.fill(NO_PSS_DECLARATION);
return result;
}()
constexpr std::size_t NO_PSS_DECLARATION
Marker for an absent effective declaration occurrence.
Definition pss_data.hpp:138

Last occurrence for each property, or NO_PSS_DECLARATION.


The documentation for this struct was generated from the following file: