bolts.traits.symbols

Traits about symbols

Members

Enums

PropertySemantics
enum PropertySemantics

Represents the semantics supported by an @property member

ProtectionLevel
enum ProtectionLevel

Lists the various protection levels that can be applied on types

isLiteral
eponymoustemplate isLiteral(T...)

Checks if an alias is a literal

Templates

TypesOf
template TypesOf(Symbols...)

Returns the types of all values given.

isLiteralOf
template isLiteralOf(ab...)

Checks if an alias is a literal of some type

isManifestAssignable
template isManifestAssignable(alias sym)

Returns true if the argument is a manifest constant, built-in type field, or immutable static

isOf
template isOf(ab...)

Checks if the resolved type of one thing is the same as the resolved type of another thing.

isProperty
template isProperty(alias sym)

Tells you if a symbol is an @property

isRefDecl
template isRefDecl(T...)

True if it's a ref decleration. This applies to parameters and functions

isSame
template isSame(ab...)

Returns true if a and b are the same thing, or false if not. Both a and b can be types, literals, or symbols.

propertySemantics
template propertySemantics(alias sym)

Tells you what property semantics a symbol has

protectionLevel
template protectionLevel(symbol...)

Check if the access level of any symbol

Variables

protectedImmutableInt
int protectedImmutableInt;
Undocumented in source.

Meta