15 #ifndef HEXT_ATTRIBUTE_MATCH_H_INCLUDED
16 #define HEXT_ATTRIBUTE_MATCH_H_INCLUDED
68 std::unique_ptr<ValueTest> value_test = {}) noexcept;
81 bool matches(const GumboNode * node) const override;
85 std::
string attr_name_;
Defines template hext::Cloneable.
Declares hext::ValueTest.
Defines HEXT_PUBLIC and HEXT_PRIVATE.
Matches HTML elements having an HTML attribute with a certain name and, optionally,...
~AttributeMatch() noexcept override=default
AttributeMatch(std::string attr_name, std::unique_ptr< ValueTest > value_test={}) noexcept
Constructs an AttributeMatch with an optional ValueTest.
Curiously recurring template pattern that extends a base class to provide a virtual method Cloneable:...
Abstract base for every ValueTest.