DQueryAttribute

Undocumented in source.

Members

Aliases

attribute
alias attribute = Attribute

Property that returns the value of the attribute.

get
alias get = Attribute

Property that returns the value of the attributes. Only defined for attributes that can produce a value.

getOrElse
alias getOrElse(alias Default) = Attribute

Property that returns the value of the attribute if it's an expression, else a default value if the attribute if a type.

getOrElse
alias getOrElse(alias Default) = Default

Property that returns the value of the attribute if it's an expression, else a default value if the attribute if a type.

type
alias type = typeof(Attribute)

Property that returns the type of the attribute.

type
alias type = Attribute

Property that returns the type of the attribute.

Enums

isTypeAssignableFrom
eponymoustemplate isTypeAssignableFrom(Type)

Property that returns true if a given type can be assigned from a variable of the attribute's type.

isTypeAssignableTo
eponymoustemplate isTypeAssignableTo(Type)

Property that returns true if a given type can be assigned to a variable of the attribute's type.

isTypeOf
eponymoustemplate isTypeOf(Type)

Property that returns true if a given type matches the attribute's type exactly.

Manifest constants

isExpression
enum isExpression;

Property that returns true if the attribute is an expression.

isType
enum isType;

Proprety that returns true if the attribute is a type.

Properties

getOrThrow
string getOrThrow [@property setter]

Property that returns the value of the attribute if it's an expression, else throws an exception (at runtime) if it's a type.

getOrThrow
string getOrThrow [@property setter]

Property that returns the value of the attribute if it's an expression, else throws an exception (at runtime) if it's a type.

opCall
auto opCall [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
query
auto query [@property getter]

Queries the type of the attribute.

Static functions

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

Meta