Attribute

Struct for Node Attributes

Constructors

this
this(string key, string values)
this
this(string key, string[] values)

Members

Functions

matches
bool matches(Node node)

Checks if the given node matches key and values of this attribute. Note that all atribute values from this attribute must match the given nodes attribute values - not the other way round

matchesKey
bool matchesKey(Node node)

Checks if the given node matches the attributes given key

matchesValue
bool matchesValue(Node node)

Checks if at least one of the attribute values of the given node matches the given attribute values

Variables

key
string key;
Undocumented in source.
values
string[] values;
Undocumented in source.

Meta