Exact selection and edit boundaries for a source-backed CSS rule or declaration. More...
#include "donner/editor/StructuredCssEdit.h"
Public Member Functions | |
| bool | operator== (const StructuredCssTarget &) const =default |
| Compare resolved ranges and revision identity. | |
Public Attributes | |
| SourceByteRange | rule |
| Complete qualified rule. | |
| SourceByteRange | selector |
| Authored selector list. | |
| std::optional< SourceByteRange > | declaration |
| Complete declaration and optional semicolon. | |
| std::optional< SourceByteRange > | name |
| Authored property name. | |
| std::optional< SourceByteRange > | value |
| Authored property value. | |
| std::optional< SourceByteRange > | priority |
| Authored importance annotation. | |
| std::optional< SourceByteRange > | insertDeclaration |
| Insertion point or trailing escape. | |
| bool | declarationInsertionBeforeTail = false |
| Keep discarded trailing source separate. | |
| std::string | declarationInsertionPrefix |
| XML-encoded CSS EOF closers. | |
| StructuredCssSourceEncoding | encoding = StructuredCssSourceEncoding::Unmapped |
| Context. | |
| std::string | decodedMoveText |
| Original CSS token bytes before XML encoding. | |
| char | attributeQuote = '\0' |
| Original delimiter for an inline style attribute. | |
| bool | inlineStyle = false |
| The selected declaration belongs to a style attribute. | |
| bool | declarationClosedForMove = false |
| Repaired CSS must be encoded at the destination. | |
| bool | declarationIncludesSemicolon = false |
| Selected bytes include a CSS separator. | |
| bool | declarationNeedsSeparator = false |
| Last declaration has no terminating semicolon. | |
| std::size_t | selectionOffset = 0 |
| Original hit that resolves the same parsed target. | |
| std::uint64_t | generation = 0 |
| Document generation at selection. | |
| std::uint64_t | sourceVersion = 0 |
| Document source revision at selection. | |
Exact selection and edit boundaries for a source-backed CSS rule or declaration.