|
Portals0.7.0 · dev (544a5c68c72e · 2026-11-28 UTC)
|
Allocation-free storing sink writing one bounded owning descriptor. More...
#include <pss_compact.hpp>
Public Member Functions | |
| constexpr | PssCompactSink (std::string_view source, CompactSheet< R, C, D, B > &sheet) |
| constexpr std::expected< void, PssError > | sourceName (std::string_view name) |
| constexpr void | originKind (PssOriginKind kind) |
| constexpr std::expected< void, PssError > | beginRule (PssLocation location) |
| constexpr std::expected< void, PssError > | type (PssSpan span, PssLocation location) |
| constexpr std::expected< void, PssError > | id (PssSpan span, PssLocation location) |
| constexpr std::expected< void, PssError > | className (PssSpan span, PssLocation location) |
| constexpr std::expected< void, PssError > | typeName (std::string_view bytes, PssLocation location) |
| constexpr std::expected< void, PssError > | idName (std::string_view bytes, PssLocation location) |
| constexpr std::expected< void, PssError > | classBytes (std::string_view bytes, PssLocation location) |
| constexpr std::expected< void, PssError > | readOnly () |
| constexpr std::expected< void, PssError > | state (StyleState value) |
| constexpr std::expected< void, PssError > | declaration (PssProperty property, PssValue value, PssLocation location) |
| constexpr std::expected< void, PssError > | endRule () |
| constexpr std::expected< void, PssError > | copyText (std::string_view bytes, PssLocation location, PssText &destination) |
| template<std::size_t SourceR, std::size_t SourceC, std::size_t SourceD, std::size_t SourceB> | |
| constexpr std::expected< void, PssError > | copyFrom (const CompactSheet< SourceR, SourceC, SourceD, SourceB > &source) |
Allocation-free storing sink writing one bounded owning descriptor.
| R | Numeric rule capacity. |
| C | Numeric class-reference capacity. |
| D | Numeric declaration-occurrence capacity. |
| B | Numeric owning-text capacity. |
|
inlineconstexpr |
| source | Borrowed original source spans, retained only during construction. |
| sheet | Owning output destination, borrowed for this synchronous operation. |
|
inlineconstexpr |
| location | Original selector start. |
|
inlineconstexpr |
| bytes | Static typed or original parsed class, copied before returning. |
| location | Source coordinates for admission errors. |
|
inlineconstexpr |
| span | Original class-name bytes. |
| location | Source coordinates for admission errors. |
|
inlineconstexpr |
| SourceR | Admitted source rule capacity. |
| SourceC | Admitted source class capacity. |
| SourceD | Admitted source occurrence capacity. |
| SourceB | Admitted source text capacity. |
| source | Already validated owning staging description. |
|
inlineconstexpr |
| bytes | Borrowed name bytes copied before returning. |
| location | Original coordinates for an arena error. |
| destination | Stored owning-arena reference populated on success. |
|
inlineconstexpr |
| property | Validated property destination. |
| value | Validated single scalar declaration. |
| location | Original property start. |
|
inlineconstexpr |
|
inlineconstexpr |
| span | Original ID bytes. |
| location | Source coordinates for admission errors. |
|
inlineconstexpr |
| bytes | Static typed or original parsed ID, copied before returning. |
| location | Source coordinates for admission errors. |
|
inlineconstexpr |
| kind | Honest coordinate interpretation for the stored source metadata. |
|
inlineconstexpr |
|
inlineconstexpr |
| name | Validated source identity copied into the shared arena. |
|
inlineconstexpr |
| value | Validated existing presentation state. |
|
inlineconstexpr |
| span | Original type-name bytes. |
| location | Source coordinates for admission errors. |
|
inlineconstexpr |
| bytes | Static typed or original parsed type identity, copied before returning. |
| location | Source coordinates for admission errors. |