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

One declaration's source coordinates, retained even when a later duplicate wins. More...

#include <pss_data.hpp>

Public Member Functions

bool operator== (const PssDeclarationOrigin &other) const

Public Attributes

std::size_t ruleIndex {}
 Source-order containing rule index.
PssProperty property {}
 Destination identity.
PssLocation location
 Start of the property name.
PssScalarValue value
 Original scalar, retained when a later duplicate overwrites it.
std::shared_ptr< const detail::ScrollbarGlyphLiteral > glyph {}
 Owning runtime literal occurrence.
std::shared_ptr< const std::string > roleName {}
 Optional owning runtime semantic destination.

Detailed Description

One declaration's source coordinates, retained even when a later duplicate wins.

Member Function Documentation

◆ operator==()

bool portals::PssDeclarationOrigin::operator== ( const PssDeclarationOrigin & other) const
inline
Parameters
otherDeclaration origin to compare.
Returns
Whether containment, destination, and coordinates agree.

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