DQuery

Alias This

elements

Members

Aliases

elements
alias elements = QueryElements

Returns the elements in the query.

type
alias type = QueryType

Returns the type being queried.

Manifest constants

empty
enum empty;

Returns true if the query has no elements.

length
enum length;

Returns the number of elements in the query.

unique
enum unique;

Returns the query with all duplicate elements removed.

Properties

accessible
auto accessible [@property getter]

Filters elements that are accessible.

aggregates
auto aggregates [@property getter]

Filters elements that are aggregate types.

aggregates
auto aggregates [@property getter]

Filters elements that are aggregate types and match any of the given names.

allOf
auto allOf [@property getter]

Filters elements that have all of the given attributes.

anyOf
auto anyOf [@property getter]

Filters elements that have any of the given attributes.

arities
auto arities [@property getter]

Filters elements that match one of the given arity values.

arity
auto arity [@property getter]

Filters elements that match the given arity value.

attributes
auto attributes [@property getter]

Returns the type's attributes.

attributes
auto attributes [@property getter]

Returns the type's allowed attributes.

constructors
auto constructors [@property getter]

Filters elements that are constructors.

destructors
auto destructors [@property getter]

Filters elements that are destructors.

fields
auto fields [@property getter]

Filters elements that are fields.

fields
auto fields [@property getter]

Filters elements that are fields and match any of the given names.

first
auto first [@property getter]

Returns the first element in the query.

functions
auto functions [@property getter]

Filters elements that are functions.

functions
auto functions [@property getter]

Filters elements that are functions and match any of the given names

hasAllOf
auto hasAllOf [@property getter]

Returns true if the type has all of the given attributes.

hasAnyOf
auto hasAnyOf [@property getter]

Returns true if the type has any of the given attributes.

hasNoneOf
auto hasNoneOf [@property getter]

Returns true if the type has none of the given attributes.

join
DQuery!(OType, OElements) join [@property setter]

Returns a union between this query and another one.

name
auto name [@property getter]

Filters elements that match the given name.

names
auto names [@property getter]

Filters elements that match one of the given names.

noneOf
auto noneOf [@property getter]

Filters elements that have none of the given attributes.

opCall
auto opCall [@property getter]

Return an uninitialized value of the query's type.

parameters
auto parameters [@property getter]

Filters elements that match the given parameter list.

reset
auto reset [@property getter]

Returns the query with all filters removed.

returns
auto returns [@property getter]

Filters elements that return one of the given types.

types
auto types [@property getter]

Filters elements that match one of the given types.

Templates

ensure
template ensure(string Attr : "length")

Provides validations regarding the query's length.

Meta