Donner SVG main
0.8.0 ยท 766e862a0.8.0 main
SVG editor and embeddable C⁠+⁠+⁠20 engine.
Loading...
Searching...
No Matches
donner::editor::CssSourceReference Struct Reference

A named reference as written in an authored CSS declaration. More...

#include "donner/editor/CssSourceReference.h"

Public Types

enum class  Kind {
  CustomProperty ,
  FragmentUrl
}
 Syntactic form of the reference. More...

Public Attributes

Kind kind
 Syntactic form of this reference.
std::string_view name
 CSS-decoded custom name or fragment ID without '#'.
SourceRange spelling
 Bytes in the parsed CSS source, before mapping into XML.

Detailed Description

A named reference as written in an authored CSS declaration.

Member Enumeration Documentation

◆ Kind

Syntactic form of the reference.

Enumerator
CustomProperty 

A custom-property identifier inside var().

FragmentUrl 

A document-local URL fragment.


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