Attribute

Represents a single attribute attached to some element.

Members

Functions

toString
string toString()
Undocumented in source. Be warned that the author may not have intended to support it.

Properties

get
Variant get [@property getter]

Reads the runtime value of the attribute if it caqn produce one. The result is returned as a Variant object.

get
T get [@property getter]

Ditto, but also accepts a template parameter which the result is converted to (if the conversion is possible).

getAttributeType
const(Type) getAttributeType [@property getter]
Undocumented in source.
getAttributeTypeInfo
const(TypeInfo) getAttributeTypeInfo [@property getter]
Undocumented in source.
isExpression
bool isExpression [@property getter]

Checks if this attribute is expression. Any attribute that can produce a value at runtime is considered an expression attribute.

isType
bool isType [@property getter]

Checks if this attribute is a type (or some other non-expression).

Meta