|
ZenitUI
Retained-mode C++20 UI framework
|
Intermediate representation: parsed rules, keyframes and root vars. More...
#include <StyleParser.hpp>
Classes | |
| struct | Rule |
| One selector-plus-declarations entry. More... | |
| struct | KfFrame |
| One from/to/N% frame inside @keyframes. More... | |
| struct | KfRule |
| One @keyframes name { ... } block. More... | |
Public Attributes | |
| std::vector< Rule > | rules |
| std::vector< KfRule > | keyframes |
| std::unordered_map< std::string, std::string > | vars |
| std::vector< Declaration > | rootDecls |
Intermediate representation: parsed rules, keyframes and root vars.
Produced by StyleParser::parse() and consumed by applyStyleSheet. Storing the IR separately from Theme allows validating a stylesheet without mutating the live theme, and makes tests easier.