runtimeDsl

Creates a dlang dsl language for accessing properties out of a ComponentType.

The difference compared to a simple dsl is the fact that runtimeDsl will operate with erased components (components with erased type), which incurs some additional cost of creating temporaries to hide component type.

runtimeDsl
(
ComponentType
FieldType
KeyType
)
(
PropertyAccessor!(ComponentType, FieldType, KeyType) accessor
,
PropertyAccessor!(ComponentType, FieldType, KeyType) indexer
)

Parameters

accessor PropertyAccessor!(ComponentType, FieldType, KeyType)

accessor used to access property like values

indexer PropertyAccessor!(ComponentType, FieldType, KeyType)

accessor used to access indexed like values

Return Value

Type: auto

PropertyPathAccessor!(ComponentType, FieldType, KeyType) with dsl like configuration.

Meta