class EE::UI::CSS::ShorthandDefinition

#include <shorthanddefinition.hpp>

class ShorthandDefinition {
public:
    // construction

    ShorthandDefinition(const std::string& name, const std::vector<std::string>& properties, const std::string& shorthandFuncName);

    // methods

    static ShorthandDefinition* New(const std::string& name, const std::vector<std::string>& properties, const std::string& shorthandParserName);
    std::vector<StyleSheetProperty> parse(std::string value) const;
    const std::string& getName() const;
    const String::HashType& getId() const;
    ShorthandDefinition& addAlias(const std::string& alias);
    bool isAlias(const std::string& alias) const;
    bool isAlias(const String::HashType& id) const;
    bool isDefinition(const std::string& name) const;
    bool isDefinition(const String::HashType& id) const;
    ShorthandId getShorthandId() const;
    const std::vector<std::string>& getProperties() const;
};